Resume/.drone.yml

46 lines
1.0 KiB
YAML
Raw Normal View History

kind: pipeline
name: create_pdf_release
2022-06-03 08:53:26 -04:00
steps:
2022-06-03 09:40:32 -04:00
- 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
2022-06-03 09:40:32 -04:00
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
settings:
api_key:
from_secret: api_key
base_url: https://git.thomaspcole.com
files: Resume.pdf