From 538efdc51678e1c1c6f13eea576d0717bc96d8a9 Mon Sep 17 00:00:00 2001 From: Chris Christiansen Date: Wed, 10 Jun 2026 14:29:21 +0000 Subject: [PATCH] fix(ci): correct syntax error in cloudbuild.yaml notify step --- cloudbuild.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index efd491c..51687bd 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -129,14 +129,10 @@ HTTP_STATUS:%{http_code}" --secret=webhook-url --project=${PROJECT_ID} 2>/dev/null || echo "") if [[ -n "$$WH_URL" ]]; then - NOTIFY_MSG="✅ *OSVauco Deploy fullført* -Commit: `$COMMIT_SHA` -Service: `${_CLOUD_RUN_SERVICE}` -Region: `${_REGION}` -Smoke test: ✅" - curl -s -X POST "$$WH_URL" - -H 'Content-Type: application/json' - -d "{"text": "$$NOTIFY_MSG"}" || true + NOTIFY_MSG="✅ OSVauco Deploy fullført. Commit: $COMMIT_SHA, Service: ${_CLOUD_RUN_SERVICE}, Region: ${_REGION}" + curl -s -X POST "$$WH_URL" \ + -H 'Content-Type: application/json' \ + -d "{\"text\": \"$$NOTIFY_MSG\"}" || true echo "✓ Deploy-notifikasjon sendt" else echo "⚠️ Ingen webhook-url i Secret Manager — hopper over varsling"