pipline build v17 - syntax v3

This commit is contained in:
Josh 2025-07-31 14:58:04 +00:00
parent 4b97435bc2
commit ffae20ca37

View File

@ -25,7 +25,8 @@ steps:
# ── SSH into the staging VM and recreate the stack ─────────
ssh -o StrictHostKeyChecking=yes \
-i ~/.ssh/id_ed25519 \
jcoakley@10.128.0.12 <<'EOF'
jcoakley@10.128.0.12 <<EOF
#!/usr/bin/env bash
set -euo pipefail
cd /opt/aptiva-staging-app
echo "Pulling containers with IMG_TAG=${TAG}"
@ -34,3 +35,10 @@ steps:
IMG_TAG=${TAG} docker compose up -d --force-recreate --remove-orphans
echo "✅ Staging stack refreshed"
EOF
environment:
- CI_COMMIT_SHA
when:
event:
- push