add the fail flag to hide the body as well in case it contains the URL for some reason
This commit is contained in:
6
.github/scripts/deploy-registry.sh
vendored
6
.github/scripts/deploy-registry.sh
vendored
@@ -26,10 +26,12 @@ done
|
||||
# DONT EVER SET ANY FLAGS THAT MIGHT PRINT THE URL, AS IT HAS SECRETS IN IT
|
||||
curl -X POST "https://cloudbuild.googleapis.com/v1/projects/coder-registry-1/triggers/http-build-registry-v2-dev:webhook?key=${GCLOUD_API_KEY}&secret=${GCLOUD_DEV_DEPLOY_SECRET}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
-d '{}' \
|
||||
--fail
|
||||
|
||||
# Trigger a build for prod
|
||||
# DONT EVER SET ANY FLAGS THAT MIGHT PRINT THE URL, AS IT HAS SECRETS IN IT
|
||||
curl -X POST "https://cloudbuild.googleapis.com/v1/projects/coder-registry-1/triggers/http-build-registry-v2-trigger:webhook?key=${GCLOUD_API_KEY}&secret=${GCLOUD_PROD_DEPLOY_SECRET}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{}'
|
||||
-d '{}' \
|
||||
--fail
|
||||
Reference in New Issue
Block a user