-
Notifications
You must be signed in to change notification settings - Fork 0
/
.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.20.2'
env:
global:
- MATTERMOST_CHANNEL=publication
# REGISTRY_TOKEN(editor=cozy, app=facebook)
- secure: bOkETXUMmrh/wbeB+F+asedATdYxgaabMwFRL3dOe3U2vTyYMm9CS8Kc96YshjpU43lU3qMhFEben8dAPamUT3eDLHQxo1zv8vSFmsVmSk6iZqjO0D5r/9qgVnMcFAHX47ay+PX9nLiGzZAQg89u+xHFstDfbC48AV4Evj0t7Qsn+TF6qWltYXHVzIdaAxVw0y7c5akODIK6DoSvCbY1BNHAGKMW4KUYCuAlQRn5+qpA3dC+6vne7VFsEq2RA2lDKfzhhivPLnjy5tnGt0KuIsfQ+X5rZT0Jkg+KPFsWOJCj608LOBwnFjI7jDq1OtwhFKCfNIt3gSxwJzkCnDCLlInA02+Y09w1zIIs42zdaT7VRVt4Svs2+xe12WJ94nWah7pTxPf4sNCqXhxa3NQ53meEGYU7nKAa8tcy2qIRy96WECrCqRQGWlnKGCaZ82JMwqy79F+/bWOYpDZSowXVamm4yZeT1nvd9T911xCnAIhv2UlvxFNKVkZrNjoxHA2L4f1Q/MNWqM75eqrNdmiCBZY1iJyw1lV+Yd7jKZ2VdHv3WxEUyBk0vLsMCvpmra9kYef02IUQ82Ctjy7i8SAT5b8vNm4zMQbFBwfPELARjGiJUyO7Vrz6n11Ohj2e9EmYT0UfrBrsGWTaWMytU0Jzgpma+0MSqB+ijIZ4+AwWHYs=
# MATTERMOST_HOOK_URL
- secure: kgkkrX1JUVG/qn1cSeJBuhqeiKGxp/WbX8hejIrXu89sSsUHMhO504QU/cCj5pRwnUoSptiAlk4abOUIjg+sbD02sDkJOJiOo6DwdAAfoVFEvaDqgwJPLuXkgvP/QFYNhjqAVmacNy1X1LCn7mPWo4smajy9QAWHNkTfXGqur1RmRF8M1fUFRp94Djx81PPuK87yR6UY4J0K/FxIxNZyZ53bcVQtqoOy/H9F84k1Xhr1KEojV3FVJv/xqCfN3Dv55RiNhPcSisTaiN5OQ9Lk/9CcRDyWhQB2rRFaA2S6bU7dlahBYyWHZxIyE71ZA6jHZmAPCa3L2yqkTwmytGgUUjIkLvkT59PS99lGLa+JwEhoME7l4C2pSDnFXVnkpcnG+5JQOMGK0kmuMsZq8Y62m1/3QhJeqMo0M+p/kiOFrx+dQut148NoS4gw5Qi0nTm1fkq83F5sBsjDdYFmTYTxGbP2gEseARd4EUzP1BQFgbNV4h+b9LqsOXYTgcLJcYQi++Ny9D062lb8HYuwI7H/Hz+h1D2jHKydSeEsxhJmHJtLyHybJ3U0UKPT6RijgkCz7GK/7D0u3cdxBzK2KZ1GkN3RT1zMb6DhEOtGv/GyYLvaUHNuSTRzSedfDCeP3Tt0w7u1wV7Q3jM8I30Ss8mHGVIvDvSgFPPsvDyBe6Um9uk=
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