More
This commit is contained in:
+8
-2
@@ -113,7 +113,10 @@ deploy:staging:
|
|||||||
- apk add --no-cache curl jq
|
- apk add --no-cache curl jq
|
||||||
script:
|
script:
|
||||||
- echo "Deploying to staging environment..."
|
- 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:
|
environment:
|
||||||
name: staging
|
name: staging
|
||||||
url: https://staging-mtgsearch.example.com
|
url: https://staging-mtgsearch.example.com
|
||||||
@@ -129,7 +132,10 @@ deploy:production:
|
|||||||
- apk add --no-cache curl jq
|
- apk add --no-cache curl jq
|
||||||
script:
|
script:
|
||||||
- echo "Deploying to production..."
|
- 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:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
url: https://mtgsearch.example.com
|
url: https://mtgsearch.example.com
|
||||||
|
|||||||
Reference in New Issue
Block a user