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"