More
This commit is contained in:
+8
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user