Skip to content

Commit

Permalink
Revert "Store credentials outside project dir, just to be safe"
Browse files Browse the repository at this point in the history
This reverts commit 41a37f5.
  • Loading branch information
alanchrt committed Aug 16, 2019
1 parent 0a061de commit 0689b0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ set -e
git config --global user.email "alan@smallstep.com"
git config --global user.name "Alan Thomas"
git config --global push.default matching
git config credential.helper "store --file=~/.git-credentials"
echo "https://${GITHUB_API_KEY}:@github.com" > ~/.git-credentials
git config credential.helper "store --file=.git/credentials"
echo "https://${GITHUB_API_KEY}:@github.com" > .git/credentials

yarn version --patch --message "v%s [ci skip]"
git push origin HEAD:$TRAVIS_BRANCH
git push --tags

echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc

yarn dist
cd dist
Expand Down

0 comments on commit 0689b0d

Please sign in to comment.