Skip to content

Commit e7be5de

Browse files
author
Brandon Carroll
committed
ci(deploy): run gh-pages command after successfully publishing
1 parent f27cc2a commit e7be5de

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ install:
1111
- npm i
1212
# as requested by the React team :)
1313
# https://reactjs.org/blog/2019/10/22/react-release-channels.html#using-the-next-channel-for-integration-testing
14-
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then npm install react@next react-dom@next; fi
15-
script:
16-
- npm run lint
17-
- npm run test
14+
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then npm update react@next react-dom@next; fi
15+
script: npm run lint && npm run test
1816
jobs:
1917
include:
2018
- stage: release
2119
if: branch = master AND type != pull_request
2220
node_js: 10
2321
script: npm run semantic-release
22+
deploy: npm run deploy

0 commit comments

Comments
 (0)