Skip to content
This repository was archived by the owner on Apr 1, 2020. It is now read-only.

Commit bfd5a29

Browse files
committed
chore: deploy using Travis
1 parent 77dbe39 commit bfd5a29

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
sudo: false
22
language: node_js
3+
cache:
4+
directories:
5+
- node_modules
36
node_js:
47
- "8"
58
notifications:
6-
disabled: true
7-
after_success:
8-
- npm run now -- --token=$NOW_TOKEN
9+
email: false
10+
11+
deploy:
12+
script: scripts/deploy.sh
13+
provider: script
14+
skip_cleanup: true
15+
on:
16+
branch: master

scripts/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+
set -euo pipefail
3+
4+
npm run -s now -- --token=$NOW_TOKEN

0 commit comments

Comments
 (0)