Skip to content

Commit b77700c

Browse files
committed
Put travis gh-pages deploy back since there are some permissions problems to work out on circle
1 parent 87664a8 commit b77700c

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.travis.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,13 @@ deploy:
5151
condition: $TRAVIS_EVENT_TYPE != cron
5252
skip_cleanup: true
5353
script: if npm info scratch-gui | grep -q $RELEASE_VERSION; then git tag $RELEASE_VERSION && git push https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git $RELEASE_VERSION; fi
54-
# Disable deploy to gh-pages. Circle will do it instead.
55-
# - provider: script
56-
# on:
57-
# all_branches: true
58-
# condition: $TRAVIS_EVENT_TYPE != cron && ! $TRAVIS_BRANCH =~ ^dependabot/
59-
# tags: false # Don't push tags to gh-pages
60-
# skip_cleanup: true
61-
# script: npm run deploy -- -x -e $TRAVIS_BRANCH -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
54+
- provider: script
55+
on:
56+
all_branches: true
57+
condition: $TRAVIS_EVENT_TYPE != cron && ! $TRAVIS_BRANCH =~ ^dependabot/
58+
tags: false # Don't push tags to gh-pages
59+
skip_cleanup: true
60+
script: npm run deploy -- -x -e $TRAVIS_BRANCH -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
6261
- provider: script
6362
on:
6463
branch: develop

0 commit comments

Comments
 (0)