This commit is contained in:
1 parent
5d37427e5e
commit
8e4d3b0b8e
1 file changed
+3
-4
@@ -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