Files
fuz-site/.gitea/workflows/deploy.yml
2025-11-24 09:58:21 +01:00

23 lines
543 B
YAML

name: Deploy FUZ 2.0
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout full repository
uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Create .env file from secret
run: |
echo "${{ secrets.FUZSITE }}" > .env
- name: Build and Deploy
run: |
docker compose -f docker-compose.prod.yml build
docker compose -f docker-compose.prod.yml up -d --force-recreate