This commit is contained in:
parent
d5ac5f0868
commit
45431a3053
22
.drone.yml
22
.drone.yml
@ -2,7 +2,7 @@ kind: pipeline
|
||||
name: create_pdf_release
|
||||
|
||||
steps:
|
||||
- name: copy_md
|
||||
- name: copy_files
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: 192.168.10.5
|
||||
@ -11,10 +11,10 @@ steps:
|
||||
from_secret: ssh_password
|
||||
port: 22
|
||||
target: /tmp/resumemd
|
||||
source: ./Resume.md
|
||||
source: ./config.js
|
||||
source: config.js
|
||||
source: Resume.md
|
||||
|
||||
- name: render_md
|
||||
- name: convert
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 192.168.10.5
|
||||
@ -24,18 +24,8 @@ steps:
|
||||
port: 22
|
||||
command_timeout: 2m
|
||||
script:
|
||||
- cd /tmp/resumemd && md-to-pdf --config-file config.js Resume.md
|
||||
|
||||
- name: get_pdf
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: 192.168.10.5
|
||||
username: thomas
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
port: 22
|
||||
source: /tmp/resumemd/Resume.pdf
|
||||
target: ./Resume.pdf
|
||||
- /home/thomas/.nvm/versions/node/v17.4.0/bin/md-to-pdf
|
||||
|
||||
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
|
Loading…
Reference in New Issue
Block a user