feat: harden server pull deployments and git hygiene
This commit is contained in:
@@ -126,7 +126,7 @@ git -C "$APP_DIR" merge-base --is-ancestor "$SHA" "origin/$BRANCH" || {
|
||||
|
||||
write_status "deploying" "$current_sha" "$previous_sha" 0
|
||||
git -C "$APP_DIR" reset --hard "$SHA"
|
||||
docker compose -f "$COMPOSE_FILE" up -d --build --remove-orphans
|
||||
docker compose -f "$COMPOSE_FILE" up -d --build
|
||||
|
||||
for attempt in $(seq 1 30); do
|
||||
if curl --fail --silent --show-error --max-time 5 "$HEALTHCHECK_URL" >/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user