-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
41 lines (41 loc) · 2.22 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
language: node_js
node_js:
- '16.18.1'
env:
global:
- MATTERMOST_CHANNEL=publication
# REGISTRY_TOKEN(editor=cozy, app=edg)
- secure: De1gSh9SuRAJerKH3I3v9xo2gQxtlI+5cVI0jwQiAuSZP3n3wWVXDNjEjqN5JkLeCWlv1MPpK8uh4jV42e+YgyrBddMELBRc/kDxGy9DWViVx7hkQucXD0FRAQ9cNAMixqBufXN1CbeywSbGpv7WMtpbSStgRiu3+U1igOMerxkz0CCzbNAennacaU1dhhTf2jeOp36i93mA1cTlFAHdBAzpYPb6p3/MqD6b06oH8oJG0dghrhK9HT76w9LBrmGGHTR0AE/AlbHrWKZAzfJpc/YkJkaKGCt8iHMqOlBxL814xgbtzAZ26XlmZTY0fQmEsPD8xfakE/7/uz2lWaKDyYCyEgXktHT84w4s3RckWlOhk4g4URQMNWpG5d8xrwrn09O9cM79jtvGYhYKsTucftD/i6r/HqUllXBE7r+h5nRyVNFJ40V8pxTHzWVeWhX/DUhPsxhOZAdPTzsvFjPCGDM7kfePCkbBOJdANnF0q+d1XtJFMk79cQI401dqs8J+t7RK0M4cgZTelSM9S1qXuDKh6SEyCElURq+8urBaTa5kd3VnVDKdiiEZ5IdbKOYvqAtEF1yrH0UTNN1AeuXClJ1YLOrJqwdiLHmGJFc+TR/vdTxJD7sM5ggAGp+VnqYQuKvsW024HZlyAAZbK67FDrd6QYOsyQwC+tTTMXbZ0k4=
# MATTERMOST_HOOK_URL
- secure: O5FGpJ5xpH+IFgW1sU62pkOvdiREJ1Jwio0s82WsDSHo2mTjjeo42DfNomyGuNi6ydUvhoTptwW46nmnk319TWKoMyODcPELS/QBlrHCLfKYdoCSRh2uFIOZX2gdas4S4pU1dj3fpNT2cx60zQJqiT2ZwGD9y8gnOmPBnOxQBi3chf7V/Mgar8S8/IOJXNlCkEuksy5uaXOe1T/nm6RahE0ytD+WtxjxNrS8P832Wr+uID7uy6AOf5zEkRfhm1AmHYyBEXYf317/eyXIHk9X0Wyu4Ej0fbjDSB8OIr8Qk6IZ25coiP4NBVeh9Qif1CO+XnJmuLIQGw7vrzdBj9nSWuo3g8W0iIf44/IH/4jIbFprchfjRzG/EcOoAf6zh9ReoWsmBJ3f7mLiqkJ8Z0SUl57wte+g+y5sp+d8eyYqInsi780KpsuVWIA5hZUcNFjCCNbyyz1LlhnW5lgpGQK2zxCN/kM8vfUWaxnUcQPoGaO6BhUXIUco5iUGRKCaQdP/FLq7QOtDhyrdrG+3nbNG7+EIycgYJ4xgFQ4hmjTe9bi8UY/MYROiPHWCR10pPsHYrdOBwENdDtp8wNYfnLcVNXIZMsPft2gg8qU20ozI1TETbkh+3vqBH+pjfGxq1tiPY/nzg36v+jBzWItJrG8tpJH0W8oJ8/Gz9Wu9eKsy+is=
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 --postpublish mattermost
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