This commit is contained in:
2026-04-27 22:40:54 +09:30
parent 2d03f3a7f4
commit 9e966f1b1a
+8 -2
View File
@@ -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