-
Notifications
You must be signed in to change notification settings - Fork 5
/
wercker.yml
41 lines (39 loc) · 1.12 KB
/
wercker.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
box:
id: node:9
build:
steps:
- add-ssh-key:
keyname: GITHUB_KEY
host: github.com
- add-to-known_hosts:
hostname: github.com
fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
type: rsa
- npm-install
- script:
name: build
code: |
node ./node_modules/gulp/bin/gulp.js build
- script:
name: refresh data
code: |
node ./scripts/generate-sessions-data.js
- script:
name: commit data updates
code: |
git config --local user.email "[email protected]"
git config --local user.name "Wercker Deployment"
git checkout master
git add -A
git commit -m "[skip ci] Refreshing site data" || true
git push origin master
- arjen/[email protected]:
version: "0.20.7"
disable_pygments: true
deploy:
steps:
- script:
name: deploy to firebase
code: |
node ./node_modules/firebase-tools/lib/bin/firebase use production
node ./node_modules/firebase-tools/lib/bin/firebase deploy --debug --token $FIREBASE_TOKEN