pipeline build v15 - fix syntax
This commit is contained in:
parent
11a9afbddd
commit
78e43fef81
@ -24,9 +24,9 @@ steps:
|
|||||||
echo "🚀 Deploying tag ${TAG} to staging"
|
echo "🚀 Deploying tag ${TAG} to staging"
|
||||||
|
|
||||||
# ── SSH into the staging VM and re‑create the stack ─────────
|
# ── SSH into the staging VM and re‑create the stack ─────────
|
||||||
ssh -o StrictHostKeyChecking=yes \
|
ssh -o StrictHostKeyChecking=yes \
|
||||||
-i ~/.ssh/id_ed25519 \
|
-i ~/.ssh/id_ed25519 \
|
||||||
jcoakley@10.128.0.12 <<EOF
|
jcoakley@10.128.0.12 <<'EOF'
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
cd /opt/aptiva-staging-app
|
cd /opt/aptiva-staging-app
|
||||||
echo "Pulling containers with IMG_TAG=${TAG}"
|
echo "Pulling containers with IMG_TAG=${TAG}"
|
||||||
@ -35,3 +35,4 @@ steps:
|
|||||||
IMG_TAG=${TAG} docker compose up -d --force-recreate --remove-orphans
|
IMG_TAG=${TAG} docker compose up -d --force-recreate --remove-orphans
|
||||||
echo "✅ Staging stack refreshed"
|
echo "✅ Staging stack refreshed"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user