-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (41 loc) · 2.23 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
- secure: nwxMM14I8vkp7r+/NT27r/qJivBDtszokDCD+kvJgSZo9e/AZm13hWvh+RRtK7CU3BnPj9NTw1OoBSGfwhB+0ynMJusaX26pn/ySloZrojyG05FbLeGW/yGRJnTxHYaTlgXEo2kyhS7NWHju/h0Sc2wgAhvvJ5+xW8feUrPh5wvjNHD2V7sGxH7ZlQZ15RnLynnjlss320XOdVhn5SUd6/ZN0/ibvATF7DPbRLWV3FRqD7B9QiOarW/AXlj+NXI4DOWGws0j4HtQ4+ciijQmjjrUb/IsuVGIC5xJcjWLgX1lDNsT5TK8rE5HoB9uS+KIa/UAY96Xl6w5YCL/M6z+QXF4mt/TuLQyUccpbX0+yrAAVn3Dxs9X9pLZWiSid9eF+ODx37uWQ+4Zc9/EVei7rVRzpmvjLAPiCzIhWRQC8DucTKhS2ATA0JPUB9bvZaU8foHp1lY+5I6lU6AgqmtgCcHmCwerhaKvDTajKCY3WIkkiqnQg4kqe6eO6Kr3YZsl/9XhVMNhO4iDS9XzejNhnWR3f574mGq9gSwfM10RTKc265YzEDZGDzGJ6J6NtGVTkM5NoSWLuigwURYXb8AQQhYTmPp/zLsL8mAzZoKHIg4CwVK1DZ/F4pz/NLF8r3Ef37qkM9ZLo/KORfqz2TQZnBqQc5SQXs5HvvfaTkFZKYU=
# MATTERMOST_HOOK_URL
- secure: Dpr1AZCzPDMzLH2ewZgEcZ2pM4QmWMZfZnOWdq1soh+HAMjt7Q5+LBPmJqEhwstZHQHkYCEi/5r48AZ7ER+iz4QKvMB+UTF84NgPNigLmnXWMDtXTJisZMGqXR6A3YF/VhjdRSF68grtxpmSIVDD6PA8DO8aYoDazn1HZh13dvB4/G8/0oa8s8e5QliC3R5KiV3PtkaoPyFSWtB4pKkQBwnDDnRIJzEWJHb7LPKYInmRdT9ehJLip2A4IRu7ppUWJpOy28OmaIo0zoKeqiOrRI8eu1ugAncKOQZEG1/OSO/Qs3Gv5wkxPTM9qLoL3pd4yF+t/ragFD+7W6I5sHgueg7adPQSKbvjg4zGcGzO/2nOYrtPbp/RWp6a3Jnl3EECMOToLEb6OocM9vxU15YJ3naqDymd5lohe8J4wP8TumIXSu3s9vJjvgsDARdPtpHvSo4TwBrL4hZcLpgn3VnKYc9P49hx9FXyTjtKgYcWwkiNOm7ApdmNwSU9GjxaEZjc662oismMrcdBUujz91tulq5hPCjd9+lkLOG3bf9vknylAldB9UXPuA2uE3XJ72DZj8Pg3oFJlp07c8wYYV6c2JyFUCRtniRx0YFEqfUEJZTYcgXwhAsSxjZnR5Q4VG3ji4wQlW7LIr137i5zOrIBBEuMxFugGpTY+7a5E454juc=
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 --space selfhosted
on:
branch: master
- provider: script
skip-cleanup: true
script: DEPLOY_BRANCH=build yarn deploy && yarn cozyPublish --space selfhosted --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