pipeline build v15 - fix syntax

This commit is contained in:
Josh 2025-07-31 14:53:27 +00:00
parent 11a9afbddd
commit 78e43fef81

View File

@ -24,9 +24,9 @@ steps:
echo "🚀 Deploying tag ${TAG} to staging" echo "🚀 Deploying tag ${TAG} to staging"
# ── SSH into the staging VM and recreate the stack ───────── # ── SSH into the staging VM and recreate 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