feat(travis) use travis

This commit is contained in:
guanpengchn
2019-05-08 18:35:29 +08:00
parent 0accd3b942
commit dfb0a34311
3 changed files with 18 additions and 1 deletions

17
.travis.yml Normal file
View File

@@ -0,0 +1,17 @@
language: node_js
node_js:
- '10'
branchs:
only:
- master
install:
- yarn install
script:
- yarn build
addons:
ssh_known_hosts: 39.96.191.154
before_install:
- openssl aes-256-cbc -K $encrypted_e6c41ade86ae_key -iv $encrypted_e6c41ade86ae_iv -in id_rsa.enc -out ~/.ssh/id_rsa -d
after_success:
- chmod 600 ~/.ssh/id_rsa
- ssh travis@39.96.191.154 -o StrictHostKeyChecking=no 'cd ~/markdown-resume && git pull && yarn install && yarn build'

View File

@@ -1,6 +1,6 @@
## 在线demo
[Markdown简历排版工具](https://mdresume.github.io/)
[Markdown简历排版工具](https://resume.mdnice.com/)
## 简历是什么

BIN
id_rsa.enc Normal file

Binary file not shown.