We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6073931 commit 78c65e7Copy full SHA for 78c65e7
.travis.yml
@@ -16,9 +16,8 @@ before_deploy:
16
- npm run build
17
deploy:
18
skip_cleanup: true
19
- provider: npm
20
- email: $EMAIL
21
- api_key: $NPM_TOKEN
+ provider: script
+ script: sh $TRAVIS_BUILD_DIR/deploy.sh
22
on:
23
tags: true
24
notifications:
deploy.sh
@@ -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