Skip to content

Commit 8e021ab

Browse files
committed
ci(deploy): update push w/ explicit actor+token
1 parent 5e46a94 commit 8e021ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ node_js:
33
- '4'
44
script:
55
# clone gh-pages
6-
- git clone -b master https://${GH_TOKEN}@${TARGET_REPO} dist
6+
- git clone -b master https://igniteui-deploy:${GH_TOKEN}@${TARGET_REPO} dist
77

88
# wipe content in target folder
99
- rm -rf dist/${TRAVIS_BRANCH}
@@ -19,7 +19,7 @@ script:
1919
# commit
2020
- git add --all
2121
- if [ -n "$(git status --porcelain)" ]; then git commit -m "Samples for ${TRAVIS_BRANCH} ${TRAVIS_TAG}"; fi
22-
- git push -fq origin master --tags
22+
- git push -fq https://igniteui-deploy:${GH_TOKEN}@${TARGET_REPO} master
2323

2424
# whitelist match only xx.x version branches
2525
branches:

0 commit comments

Comments
 (0)