-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 1.47 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
language: node_js
node_js:
- '16.18.1'
env:
global:
- DEPLOY_REPOSITORY="git@github.com:konnectors/silae.git"
- secure: uioyrHTTa/U4FPZoUptashnuZuUCJq/05RIsYhA5AtMOr3Tot6znhaOH12b95Jr1WDY1H31DRX89+3sX/gCtF18f0opkvYEkEqBGLRQ8Y5ITOk1WVqi0vvTGrhrnFMLHSxf3tqoGf2wmXh+c4L84IqA4MXrw/7DNpjJ6chUjc4k1nge6eXMKIHPrqPzXntYwKxQgpyHGeg7rG8k80cePOihvWLGiLGeO0ZGQ74PurUliQ/BodEoeIQDOwFMMI1mV/1MB90Y72UPPSK4RJs2Nz1+ZaquHIhAEMqFUewbiqnlFFetZ99ubWsc05BnGaZiCq7IShO/DNzCdBqu1JCYxMS5bFPPpxFW4secnFLto72Q+29ORj7kV/+BynvzYXmtkMY31WgTw2ZMckRTN7iVesi1A+I4OmS4WjikJgZcz3hSYN+EXRoGVPN3VrvacVgWFBOfLuL9oYpvTvPc8AHpd7CfxEI2frIj7lDHHKXNLMj/0qR36RJW79Xd1oqzQDmgpsSP33u9C5fEf/76k7Tktplni3DAuAbMsx6X5ZQcAt6agtUMfwxPk2eYYz3sMAzi/B1E9ud/CW/7DDRUq4eQHJA9BF0dT7fP+2+4M95wysh89wszEjNWnAFE4QAHbyMD3qTdshbe0LybcruvOHNiEJDtfyFn+4FloAYgKuW/G5w0=
cache:
yarn: true
directories:
- node_modules
branches:
except:
- build
- build-debug
script:
- yarn lint
- yarn build
deploy:
- provider: script
skip-cleanup: true
script: DEPLOY_BRANCH=build yarn deploy && yarn cozyPublish
on:
branch: master
- provider: script
skip-cleanup: true
script: DEPLOY_BRANCH=build yarn deploy && yarn cozyPublish
on:
tags: true
before_install:
- openssl aes-256-cbc -K $encrypted_8ebb1ef83f64_key -iv $encrypted_8ebb1ef83f64_iv
-in github_deploy_key.enc -out /tmp/github_deploy_key -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/github_deploy_key
- ssh-add /tmp/github_deploy_key
after_deploy:
- rm /tmp/github_deploy_key
- ssh-add -D