Skip to content

Commit

Permalink
Merge pull request #883 from OpenGeoscience/deploy-npm-publish
Browse files Browse the repository at this point in the history
Publish to npm on git tag.
  • Loading branch information
manthey authored Aug 1, 2018
2 parents 3fc4e6a + 18a7084 commit 735f517
Show file tree
Hide file tree
Showing 6 changed files with 509 additions and 12 deletions.
30 changes: 22 additions & 8 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
examples/
*build*/
cmake/
testing/
doc/
CMakeLists.txt
codecov.yml
CTestConfig.cmake
dashboard/
scripts/
built/
*build*/
.git/
dist/
.eslintcache
docs/
.editorconfig
.eslint*
examples/
external.config.js
.git/
.gitignore
images/
jsdoc*
karma*
lcov/
notes/
.pug*
scripts/
tests/
.travis.yml
tutorials/
webpack-*
website/
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,10 @@ deploy:
# We could emit artifacts on all branches rather than just master
branch: master
# all_branches: true
- provider: npm
api_key: $NPM_TOKEN
email: [email protected]
skip-cleanup: true
script: "npm publish"
on:
tags: true
Loading

0 comments on commit 735f517

Please sign in to comment.