Skip to content

Commit b39dff4

Browse files
committed
ci: make deploy stage conditional on master branch
1 parent c017e2e commit b39dff4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ branches:
3232
jobs:
3333
include:
3434
- stage: deploy
35+
if: branch = master
3536
script:
3637
- npm run build
3738
- bash ./.travis/gh-pages.sh

0 commit comments

Comments
 (0)