-
Notifications
You must be signed in to change notification settings - Fork 67
/
.travis.yml
29 lines (29 loc) · 1.91 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
language: node_js
cache:
directories:
- node_modules
node_js:
- 10.14.0
branches:
only:
- master
install:
- yarn install
before_install:
- openssl aes-256-cbc -K $encrypted_5e40c9d0462f_key -iv $encrypted_5e40c9d0462f_iv
-in id_rsa.enc -out ~/.ssh/id_rsa -d
- chmod 600 ~/.ssh/id_rsa
after_success:
- ssh [email protected] "cd /home/blog-front && git pull && bash ./script/deploy.sh"
notifications:
email:
recipients:
on_success: always
on_failure: always
addons:
ssh_known_hosts: 47.98.232.68
env:
global:
- secure: n64OAFsDqALFY155uKmKkeHxHDqHFRS68LVetRF+q3liSitLZPF6zj6ttXX1uDyqulz+oKLBNDEOqaP+y3IP/ywtiVwvNR+sXhUKdqkbJ9u/2MeOVMnQ+1LzG+NdQRclCkKXdZN95DFPHGjXcQCwNBXDW7Ue9ij+Y6BC+PMSPo8sfCnEBB/JJXGDg+53HhT3mQQxyV+3Rl/88F0UBv8orVpiirS3Tnz7AFaSdZdFVJMY07f5u5hqBhWdQEImeGA8mE3G2a23pw7RQWhuxAvatFAex+FKgAyJsJej2hiaEY+TPUjk52RFn90LBDleHTQFsbq7IFPhlSbrZ2JdlM6wNP4zIFtKMY7ZInE4MiCybXQK956JzyF9tf3yAyPBeFxETxhJg+tk15XkVwUcvAB3QZZsmAgsrbYBkNaJsU/vjIbcSaQvq5a1wYu6CRAozHhhe83ZUkyAhUJz2Vq0B7OyXUXNYWe4EIu7routoGgDpEVLJZFcdTgjpXEMzy8xp50tvPGBo9LZ1spju6CTi0CPQseSoFS9GUgPT4RCujv+uMr5CkuNbEiLunELA7MHrT5cU0X0qfzqbDiwcNPpPfNdgomoCyaF/7x4p/G2MsO5pEx14BVEgyeUtJwx2QzhhlOFBl/LSf8YNq5qTdYZJEoHk1K+3oo1w259mqtd1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