Private
Public Access
1
0
Files
MineSeeker/.gitea/workflows/deploy.yml
Lang 304663adb7
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
chg: pkg: new version release !skipChangelog
2026-04-14 13:05:08 +02:00

21 lines
462 B
YAML

name: Deploy to Production
on:
push:
tags:
- 'v*'
jobs:
deploy:
runs-on: splendid-bear
steps:
- name: Deploy
run: |
set -e
git config --global --add safe.directory "${{ vars.PROD_APP_DIR }}"
cd "${{ vars.PROD_APP_DIR }}"
git fetch --tags
git checkout "${{ gitea.ref_name }}"
printf '%s' '${{ secrets.PROD_ENV_FILE }}' > .env
docker compose up -d --build