Skip to content

Commit 6edc030

Browse files
authored
Merge pull request #490 from cal-smith/semantic-release
chore: add github token to github urls
2 parents 2553898 + dfcfc03 commit 6edc030

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [[ $TRAVIS_BRANCH == "master" ]]; then
2222
git config user.name "carbon-bot"
2323
git config user.email "[email protected]"
2424

25-
git pull "[email protected]:IBM/carbon-components-angular.git" gh-pages
25+
git pull "git:${GH_TOKEN}@github.com:IBM/carbon-components-angular.git" gh-pages
2626

2727
cp -R ../dist/docs/documentation/* ./documentation
2828
cp -R ../dist/docs/storybook/* ./
@@ -42,7 +42,7 @@ if [[ $TRAVIS_BRANCH == "master" ]]; then
4242

4343
# Force push to gh-pages if there was something to commit
4444
if [ $? -eq 0 ]; then
45-
git push --force "[email protected]:IBM/carbon-components-angular.git" master:gh-pages > /dev/null 2>&1
45+
git push --force "git:${GH_TOKEN}@github.com:IBM/carbon-components-angular.git" master:gh-pages > /dev/null 2>&1
4646
fi
4747
fi
4848
# just to be sure we exit cleanly

0 commit comments

Comments
 (0)