-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
53 lines (53 loc) · 1.93 KB
/
.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
43
44
45
46
47
48
49
50
51
52
53
branches:
except:
- alpha-react-pdf
addons:
ssh_known_hosts:
- rey.webhouse.net
cache: npm
before_deploy:
- openssl aes-256-cbc -K $encrypted_9ec326606352_key -iv $encrypted_9ec326606352_iv
-in deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
deploy:
- provider: script
script: bash scripts/deploy.sh master $TRAVIS_BUILD_DIR $SLACK_HOOK
skip_cleanup: true
on:
branch: master
- provider: script
script: bash scripts/deploy.sh app $TRAVIS_BUILD_DIR $SLACK_HOOK
skip_cleanup: true
on:
branch: app
- provider: script
script: bash scripts/deploy.sh beta $TRAVIS_BUILD_DIR $SLACK_HOOK
skip_cleanup: true
on:
branch: beta
- provider: script
script: bash scripts/deploy.sh alpha $TRAVIS_BUILD_DIR $SLACK_HOOK
skip_cleanup: true
on:
branch: alpha
- provider: script
script: bash scripts/deploy.sh merge $TRAVIS_BUILD_DIR $SLACK_HOOK
skip_cleanup: true
on:
branch: merge
language: node_js
node_js:
- 16
notifications:
email:
recipients:
on_success: never
on_failure: always
slack:
secure: gaOfkeEkf35bCOms3QSoO3raMbAYTGCfD0dM5mmniwfYzKl2M8VoGjCfVl1RYDTQgsA2z5Uc6hZbjjiUirQg0DuVpYg87t92/6sS+YYX6yz9sY/kGWrVv99R9m6IJ4nS9zQNBExURy5k0RHIBq+5QdMqi0mUbisJog3V2ZpOeyyPfGOMB/dsj1l/kEyuNDbIeGCGRmH1NmuFQ0xjT9K4ong43zPzGegU8uYWcL7OefdC6ZQGEiVWQfdwsQyGjqUllMBF2ljY6UcVRLGGdhgtHd4+PvaWBM7srd4hto7stKaUFqKUQB58UXlChJ0Z7su1S4jY9eCha/gmFX/sa54pK3JtkjXy/Y7bme3q56RN5aB3YYHYVQGnsPju7tEYzi09JBsMa0jQNXUhEvsz0f6oQk4/yqTA/YOfZQ08KZ7EZWnHWwRDgI5n3HANAXmMOdS6dov7Yk1u410a/nf+Yibqk73PodVb7nslvkWVZ5Wl7HSJP01uJTwCesBZ42QmVqS3Sf0KE+vz8lqF0H4lNTibg2DAMKeGSelSUg8BXzr1TlIc1yYil5FbT16e8k0KJHPJWEQvVAwf7a+wP7NHoe7s10j/mZMx+QGGKoYSDKkXsL2Xgqv35tTMIeWKQvynSBnTEQ74kvPYa5LlsmvDi6i9KF8dxly310PA1mmpk7C9dXs=
script:
- npm run-script build
- cp ./build/index.html ./build/200.html