Commit 876c1bfe authored by Vincent's avatar Vincent

Stop logging email addresses kthxbai

parent cf324061
Pipeline #37669894 passed with stage
in 1 minute and 32 seconds
......@@ -14,8 +14,8 @@ start_review:
- URL=$(now --public --token=${NOW_TOKEN} -n ${REPO_NAME}-${CI_COMMIT_REF_SLUG})
- NOW_URL=$(echo ${URL} | sed s/'http:\/\/'/''/g | sed s/'https:\/\/'//g)
- now --token=${NOW_TOKEN} alias set ${NOW_URL} ${REPO_NAME}-${CI_COMMIT_REF_SLUG}.now.sh
# Remove old, unaliased deployments:
- now rm ${REPO_NAME}-${CI_COMMIT_REF_SLUG} --safe --yes --token=${NOW_TOKEN}
# Remove old, unaliased deployments (output supressed because it logs email addresses):
- now rm ${REPO_NAME}-${CI_COMMIT_REF_SLUG} --safe --yes --token=${NOW_TOKEN} > /dev/null
environment:
name: review/$CI_BUILD_REF_NAME
url: https://$REPO_NAME-$CI_COMMIT_REF_SLUG.now.sh
......@@ -29,7 +29,8 @@ stop_review:
stage: review
script:
- npm install -g --unsafe-perm now
- now rm -t ${NOW_TOKEN} --yes ${REPO_NAME}-${CI_COMMIT_REF_SLUG}
# Output supressed because it logs email addresses
- now rm -t ${NOW_TOKEN} --yes ${REPO_NAME}-${CI_COMMIT_REF_SLUG} > /dev/null
when: manual
environment:
name: review/$CI_BUILD_REF_NAME
......@@ -46,8 +47,8 @@ start_production:
- URL=$(now --public --token=${NOW_TOKEN} -n ${REPO_NAME}-${CI_COMMIT_REF_SLUG})
- NOW_URL=$(echo ${URL} | sed s/'http:\/\/'/''/g | sed s/'https:\/\/'//g)
- now --token=${NOW_TOKEN} alias set ${NOW_URL} whereisscihub.now.sh
# Remove old, unaliased deployments:
- now rm ${REPO_NAME}-${CI_COMMIT_REF_SLUG} --safe --yes --token=${NOW_TOKEN}
# Remove old, unaliased deployments (output supressed because it logs email addresses):
- now rm ${REPO_NAME}-${CI_COMMIT_REF_SLUG} --safe --yes --token=${NOW_TOKEN} > /dev/null
environment:
name: production
url: https://whereisscihub.now.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment