try something way different
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
Thomas Cole 2022-06-03 09:40:32 -04:00
parent 2bb4d230f6
commit d5ac5f0868

View File

@ -2,11 +2,40 @@ kind: pipeline
name: create_pdf_release
steps:
- name: copy_md
image: appleboy/drone-scp
settings:
host: 192.168.10.5
username: thomas
password:
from_secret: ssh_password
port: 22
target: /tmp/resumemd
source: ./Resume.md
source: ./config.js
- name: render_md
image: node:14
commands:
- npm install
- npm run build
image: appleboy/drone-ssh
settings:
host: 192.168.10.5
username: thomas
password:
from_secret: ssh_password
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
- name: gitea_release
image: plugins/gitea-release