-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 1.46 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:
# REGISTRY_TOKEN(editor=cozy, app=eaudugrandlyon)
- secure: GovACQ12CGHmnsfOU0ANeYO0Cmsg3BHdDEqb96MDK04tcEo4Ostl5bSWAe+kY1V/CgtOs7yBi8dPYtS5KMfI3Px2PGUteDzQJe7inWf8aKQcHQakaCD+QbMoW/FKz7iUFH0wSW/Py4OFY5AVP4hkdrfYaDg8NvxQeoOoGJu1h6ySYszYPX6H6bU87J/YJOO4JP3y0vUQ5CUqaJr+WzgaF3o9hX9SOAeF4lxO19aSnnNttiFRBl47KffuTDKF9Go68DIu59ltD81ORmReiHcomQXCGoFlfr1WGn6AIKc8rLzivGZ8BKitZnZdA0zc4f1Ag2mBeIw+2tRLXZRMU8b58hAN2BlI2pJCawKKpo604juFaMYVuuakmzV5IHER8CR6YXQIHrujSE1b9tZxAlbsFHtwH2wwGEmJ/iMVga0+tjP0wA/CM8y3NO6n/VcId9TN+thMKQzUu+t0d8PnA4+PVNB8FQQnju4oJgf6DrqV1Leq/zxxUN46ynXDRoUcFKf+d0WOJV+iB7Cs3efVmrvhlGKiWNyNF6L7n7XvpebSsrI8rL/dIF/nstoipB77YZWevKTyaZS7EYAfmVmPLcFX3a89wMEpuhgal00AYJA6W5CvzLyKjwJM8l2gOD5eYpbx/s5J8Zh2QkbR/w8m+G1oSUqTM1ANsYxuIeTR4fbBgwQ=
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