ci: use angular-builds credentials for publishing artifacts (#15072)

This commit is contained in:
Chuck Jazdzewski
2017-03-10 14:03:40 -08:00
committed by GitHub
parent a69afeb614
commit 53d62fa7d0
2 changed files with 3 additions and 1 deletions

View File

@ -75,6 +75,8 @@ function publishRepo {
done
(
# SECURITY CRITICAL: DO NOT remove the set -x on the following line. Removing it will leak the github credentials to the travis log.
set -x
cd $REPO_DIR && \
git config credential.helper "store --file=.git/credentials" && \
echo "https://${GITHUB_TOKEN_ANGULAR}:@github.com" > .git/credentials