Commit 4c219070 authored by Vincent's avatar Vincent

Stop logging email addresses kthxbai

parent cf324061
Pipeline #25538791 passed with stage
in 2 minutes and 10 seconds
......@@ -15,7 +15,7 @@ start_review:
- 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}
- now rm ${REPO_NAME}-${CI_COMMIT_REF_SLUG} --safe --yes --token=${NOW_TOKEN} | sed --regexp-extended --expression="s/.+@.+/***/g"
environment:
name: review/$CI_BUILD_REF_NAME
url: https://$REPO_NAME-$CI_COMMIT_REF_SLUG.now.sh
......@@ -29,7 +29,7 @@ stop_review:
stage: review
script:
- npm install -g --unsafe-perm now
- now rm -t ${NOW_TOKEN} --yes ${REPO_NAME}-${CI_COMMIT_REF_SLUG}
- now rm -t ${NOW_TOKEN} --yes ${REPO_NAME}-${CI_COMMIT_REF_SLUG} | sed --regexp-extended --expression="s/.+@.+/***/g"
when: manual
environment:
name: review/$CI_BUILD_REF_NAME
......@@ -47,7 +47,7 @@ start_production:
- 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}
- now rm ${REPO_NAME}-${CI_COMMIT_REF_SLUG} --safe --yes --token=${NOW_TOKEN} | sed --regexp-extended --expression="s/.+@.+/***/g"
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