Update .gitea/workflows/deploy.yaml
All checks were successful
Deploy to stage / deploy-to-stage (push) Successful in 10s

This commit is contained in:
tfaour 2025-03-29 21:33:14 -04:00
parent 3a0a373c02
commit fc3ccefc09

View File

@ -1,18 +1,22 @@
name: Gitea Actions Demo name: Deploy to prod
run-name: ${{ gitea.actor }} is testing out Gitea Actions run-name: ${{ gitea.actor }} is deploying ThumeIT to prod 🚀
jobs: jobs:
Explore-Gitea-Actions: deploy-to-stage:
runs-on: ubuntu-latest runs-on: prd_runner
container:
volumes:
- /var/www/html:/www/html
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - 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 - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - 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." - 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: | run: |
ls ${{ gitea.workspace }} cp -r ./html/* /www/html
- run: ls /www/html
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."