Skip to content
This repository was archived by the owner on Dec 10, 2021. It is now read-only.

Commit 3d38dc8

Browse files
authored
Merge pull request #14 from temando/fix-travis
Makes deployment a script
2 parents 2bab9eb + f922521 commit 3d38dc8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ script:
1212

1313
deploy:
1414
provider: script
15-
script:
16-
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
17-
- npm run release
15+
script: scripts/travisDeploy.bash
1816
on:
1917
tags: true

scripts/travisDeploy.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
4+
npm run release

0 commit comments

Comments
 (0)