From 1dab6cdac07f42514d8987f1a79b8112b194a7ae Mon Sep 17 00:00:00 2001 From: Chris Christiansen Date: Sun, 24 May 2026 02:15:10 +0000 Subject: [PATCH] fix: rename all bare shell vars to _prefix - Cloud Build compatibility --- cloudbuild.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index ab8c443..24834c8 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -66,10 +66,10 @@ steps: --secret=webhook-url \ --project=${PROJECT_ID} 2>/dev/null || echo "") if [[ -n "$_WH_URL" ]]; then - MSG="✅ *OSVauco Deploy fullført*\nCommit: \`$COMMIT_SHA\`\nService: \`${_CLOUD_RUN_SERVICE}\`\nRegion: \`${_REGION}\`" + _NOTIFY_MSG="✅ *OSVauco Deploy fullført*\nCommit: \`$COMMIT_SHA\`\nService: \`${_CLOUD_RUN_SERVICE}\`\nRegion: \`${_REGION}\`" curl -s -X POST "$_WH_URL" \ -H 'Content-Type: application/json' \ - -d "{\"text\": \"$MSG\"}" || true + -d "{\"text\": \"$_NOTIFY_MSG\"}" || true echo "✓ Deploy-notifikasjon sendt" else echo "⚠️ Ingen webhook-url i Secret Manager — hopper over varsling"