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