Private
Public Access
1
0
Files
MineSeeker/.gitea/workflows/deploy.yml
Lang 9d51654aec
Some checks failed
Deploy to Production / deploy (push) Has been cancelled
chg: pkg: implement CD script to Gitea and add docs to the process #4
2026-04-14 12:55:47 +02:00

20 lines
382 B
YAML

name: Deploy to Production
on:
push:
tags:
- 'v*'
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Deploy
run: |
set -e
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