mirror of
https://github.com/mdnice/markdown-resume.git
synced 2026-01-13 07:01:36 +08:00
feat(travis) use travis
This commit is contained in:
17
.travis.yml
Normal file
17
.travis.yml
Normal 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'
|
||||
@@ -1,6 +1,6 @@
|
||||
## 在线demo
|
||||
|
||||
[Markdown简历排版工具](https://mdresume.github.io/)
|
||||
[Markdown简历排版工具](https://resume.mdnice.com/)
|
||||
|
||||
## 简历是什么
|
||||
|
||||
|
||||
BIN
id_rsa.enc
Normal file
BIN
id_rsa.enc
Normal file
Binary file not shown.
Reference in New Issue
Block a user