forked from magic-akari/lrc-maker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (36 loc) · 834 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: node_js
node_js: node
before_script:
- export NODE_ENV=production
- export USE_CDN=USE_CDN
script:
- npm run listdiff
- npm run lint
- npm run build
before_deploy:
- touch ./build/.nojekyll
deploy:
- provider: npm
skip-cleanup: true
email: $NPM_EMAIL
api_key: $NPM_AUTH_TOKEN
on:
repo: magic-akari/lrc-maker
branch: master
tag: next
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: build
on:
branch: master
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: build
repo: lrc-maker/lrc-maker.github.io
target-branch: master
on:
repo: magic-akari/lrc-maker
branch: master
tags: true