From fc3ccefc09986724b7728e9a91cc2db7d30424a2 Mon Sep 17 00:00:00 2001 From: tfaour Date: Sat, 29 Mar 2025 21:33:14 -0400 Subject: [PATCH] Update .gitea/workflows/deploy.yaml --- .gitea/workflows/deploy.yaml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index c9864bd..8c1f42c 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -1,18 +1,22 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions +name: Deploy to prod +run-name: ${{ gitea.actor }} is deploying ThumeIT to prod 🚀 jobs: - Explore-Gitea-Actions: - runs-on: ubuntu-latest + deploy-to-stage: + runs-on: prd_runner + container: + volumes: + - /var/www/html:/www/html steps: - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Check out repository code uses: actions/checkout@v4 - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository + - run: pwd + - run: ls / + - name: Copy the files run: | - ls ${{ gitea.workspace }} + cp -r ./html/* /www/html + - run: ls /www/html - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file