From 221899a9305da833074e127810ad54ffbd709e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=A1ko=20Hevery?= Date: Tue, 14 Mar 2017 11:49:33 -0700 Subject: [PATCH] ci: fix incorrect github credetials (#15146) --- .travis.yml | 2 +- scripts/ci/publish-build-artifacts.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a106131842..155ec7fe45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ env: global: # GITHUB_TOKEN_ANGULAR= # This is needed for the e2e Travis matrix task to publish packages to github for continuous packages delivery. - - secure: "PJXJptSS0ukNH4rxXpLFQ4wLxY/uiyFz0V5VQysM9adYu4tebqwP5fzZp6pb7IdYMJKaW9Lw1R9VGcV0dWqr4blf/H3MMc4Y6z18cPq+j56WoM5sgsDo5lRlsCC0g63TZUuBKQhKE2WQgAERJebCQSDkFyPi88Qmph6fkP3bbjg=" + - secure: "rNqXoy2gqjbF5tBXlRBy+oiYntO3BtzcxZuEtlLMzNaTNzC4dyMOFub0GkzIPWwOzkARoEU9Kv+bC97fDVbCBUKeyzzEqxqddUKhzRxeaYjsefJ6XeTvBvDxwo7wDwyxZSuWdBeGAe4eARVHm7ypsd+AlvqxtzjyS27TK2BzdL4=" # FIREBASE_TOKEN # This is needed for publishing builds to the "aio-staging" firebase site. # TODO(i): the token was generated using the iminar@google account, we should switch to a shared/role-base account. diff --git a/scripts/ci/publish-build-artifacts.sh b/scripts/ci/publish-build-artifacts.sh index 8c82adcc4e..e471dbef8a 100755 --- a/scripts/ci/publish-build-artifacts.sh +++ b/scripts/ci/publish-build-artifacts.sh @@ -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