From 9e966f1b1a1e1d3f1ee81b3fc30be1ef41e14f71 Mon Sep 17 00:00:00 2001 From: Dion Moustos Date: Mon, 27 Apr 2026 22:40:54 +0930 Subject: [PATCH] More --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 544fa8a..d9c76b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -113,7 +113,10 @@ deploy:staging: - apk add --no-cache curl jq script: - echo "Deploying to staging environment..." - - curl -X POST ${STAGING_DEPLOY_WEBHOOK} -d "{\"image\": \"$DOCKER_IMAGE\"}" + - | + curl -X POST "${STAGING_DEPLOY_WEBHOOK}" \ + -H "Content-Type: application/json" \ + -d '{"image":"'"${DOCKER_IMAGE}"'"}' environment: name: staging url: https://staging-mtgsearch.example.com @@ -129,7 +132,10 @@ deploy:production: - apk add --no-cache curl jq script: - echo "Deploying to production..." - - curl -X POST ${PROD_DEPLOY_WEBHOOK} -d "{\"image\": \"$DOCKER_IMAGE\"}" + - | + curl -X POST "${PROD_DEPLOY_WEBHOOK}" \ + -H "Content-Type: application/json" \ + -d '{"image":"'"${DOCKER_IMAGE}"'"}' environment: name: production url: https://mtgsearch.example.com