This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
cd /opt/Papo
|
||||
echo "[DEPLOY] Starte Deployment aus Workflow-Verzeichnis..."
|
||||
|
||||
echo "[DEPLOY] Hole aktuellen Stand aus Gitea..."
|
||||
git fetch --all
|
||||
git reset --hard origin/main
|
||||
# optional, wenn dein docker-compose.yml nicht in der Root liegt:
|
||||
# cd path/zum/docker/ordner
|
||||
|
||||
echo "[DEPLOY] Baue und starte Docker-Stack neu..."
|
||||
docker compose pull || true
|
||||
|
||||
Reference in New Issue
Block a user