Created
January 17, 2016 04:10
-
-
Save rrdelaney/ae59d4b24345b6248dd7 to your computer and use it in GitHub Desktop.
Autodeploy to NPM with Travis CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deploy: | |
provider: npm | |
email: "YOUR EMAIL" | |
api_key: $NPM_TOKEN | |
skip_cleanup: true | |
on: | |
branch: master | |
condition: $(npm view PACKAGENAME dist-tags.latest) != $(node -p "require('./package.json').version") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment