ci: fix incorrect github credetials (#15146)

This commit is contained in:
Miško Hevery
2017-03-14 11:49:33 -07:00
committed by Chuck Jazdzewski
parent 060a2d11e5
commit 221899a930
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ function publishRepo {
cd $REPO_DIR && \
git config credential.helper "store --file=.git/credentials" && \
# SECURITY CRITICAL: DO NOT use shell to expand vars since it could be logged and leaked.
node -e "console.log('https://'+process.env.GITHUB_TOKEN_ANGULAR+':github.com')" > .git/credentials
node -e "console.log('https://'+process.env.GITHUB_TOKEN_ANGULAR+':@github.com')" > .git/credentials
)
fi
echo `date` > $REPO_DIR/BUILD_INFO