Skip to content

Commit 78c65e7

Browse files
authored
update (#9)
1 parent 6073931 commit 78c65e7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ before_deploy:
1616
- npm run build
1717
deploy:
1818
skip_cleanup: true
19-
provider: npm
20-
email: $EMAIL
21-
api_key: $NPM_TOKEN
19+
provider: script
20+
script: sh $TRAVIS_BUILD_DIR/deploy.sh
2221
on:
2322
tags: true
2423
notifications:

deploy.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
4+
npm publish

0 commit comments

Comments
 (0)