diff --git a/.travis.yml b/.travis.yml index 51cdc2a..c998441 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,9 +29,14 @@ script: after_success: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT +before_deploy: + - if [ "$BRANCH" == "master" ]; then + git checkout master; + fi; + deploy: - provider: script - script: if [ "$NPM_TOKEN" != "false" ]; then yarn release; fi + script: if [ "$GH_TOKEN" != "false" ]; then npx auto shipit; fi; skip-cleanup: true on: all_branches: true \ No newline at end of file