36 lines
774 B
YAML
36 lines
774 B
YAML
kind: pipeline
|
|
name: create_pdf_release
|
|
|
|
steps:
|
|
- name: copy_files
|
|
image: appleboy/drone-scp
|
|
settings:
|
|
host: 192.168.10.5
|
|
username: thomas
|
|
password:
|
|
from_secret: ssh_password
|
|
port: 22
|
|
target: /tmp/resumemd
|
|
source: config.js
|
|
source: Resume.md
|
|
|
|
- name: convert
|
|
image: appleboy/drone-ssh
|
|
settings:
|
|
host: 192.168.10.5
|
|
username: thomas
|
|
password:
|
|
from_secret: ssh_password
|
|
port: 22
|
|
command_timeout: 2m
|
|
script:
|
|
- /home/thomas/.nvm/versions/node/v17.4.0/bin/md-to-pdf
|
|
|
|
|
|
- name: gitea_release
|
|
image: plugins/gitea-release
|
|
settings:
|
|
api_key:
|
|
from_secret: api_key
|
|
base_url: https://git.thomaspcole.com
|
|
files: Resume.pdf |