Szablon witryny, docker i workflow gitea

This commit is contained in:
dm
2025-11-20 21:22:37 +01:00
commit 1e5f2bc38a
30 changed files with 601 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
name: Deploy FUZ 2.0 to Contabo
on:
push:
branches:
- main
jobs:
deploy:
runs-on: contabo-runner
steps:
- name: Pull latest code
run: |
cd /opt/fuz-site
git reset --hard HEAD
git pull
- name: Build image
run: |
cd /opt/fuz-site
docker compose -f docker-compose.prod.yml build
- name: Restart service
run: |
cd /opt/fuz-site
docker compose -f docker-compose.prod.yml up -d