tfaour d2ed2f987e
All checks were successful
Deploy to stage / deploy-to-stage (push) Successful in 3s
Update .gitea/workflows/build.yaml
2025-03-29 21:18:30 -04:00

22 lines
768 B
YAML

name: Deploy to stage
run-name: ${{ gitea.actor }} is deploying ThumeIT to staging 🚀
on: [push]
jobs:
deploy-to-stage:
runs-on: ubuntu-latest
container:
volumes:
- /www-stg/html:/www-stg/html
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- 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."
- run: pwd
- run: ls /
- name: Copy the files
run: |
cp -r ./html/* /www-stg/html
- run: echo "🍏 This job's status is ${{ job.status }}."