fix: add git pull to deploy.sh so docker-compose.yaml stays in sync
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Without this, the server would run a stale docker-compose.yaml after any infra changes (e.g. adding MongoDB auth) even though the image was updated. deploy.sh now pulls repo changes before pulling the image. Co-Authored-By: Paperclip <noreply@paperclip.ing> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4d8e1eb352
commit
221cd94999
@ -8,6 +8,9 @@ set -euo pipefail
|
||||
APP_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cd "$APP_DIR"
|
||||
|
||||
echo "==> Updating repo"
|
||||
git pull origin main
|
||||
|
||||
echo "==> Pulling latest image from registry"
|
||||
docker compose pull bridge
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user