Remove drone file

This commit is contained in:
Thomas Cole 2022-06-03 10:48:06 -04:00
parent d838576243
commit 92976b6033
3 changed files with 3 additions and 52 deletions

View File

@ -1,49 +0,0 @@
kind: pipeline
name: create_pdf_release
steps:
- name: rebuild_cache
image: appleboy/drone-sftp-cache
settings:
server: 192.168.10.5
port: 22
username: thomas
password:
from_secret: ssh_password
path: /tmp/resumemd
rebuild: true
mount:
- src
- 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/node /home/thomas/.nvm/versions/node/v17.4.0/bin/md-to-pdf --stylesheet /tmp/resumemd/stylesheet.css --config-file /tmp/resumemd/config.js /tmp/resumemd/Resume.md
- name: restore_cache
image: appleboy/drone-sftp-cache
settings:
server: 192.168.10.5
port: 22
username: thomas
password:
from_secret: ssh_password
path: /tmp/resumemd
restore: true
mount:
- src
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: api_key
base_url: https://git.thomaspcole.com
files: Resume.pdf

View File

@ -4,8 +4,8 @@
"description": "Markdown version of my resume.", "description": "Markdown version of my resume.",
"main": "render.js", "main": "render.js",
"scripts": { "scripts": {
"build": "md-to-pdf --config-file config.js --stylesheet stylesheet.css --launch-options '{ \"args\": [\"--no-sandbox\", \"--disable-setuid-sandbox\"] }' Resume.md", "build": "md-to-pdf --config-file src/config.js --launch-options '{ \"args\": [\"--no-sandbox\", \"--disable-setuid-sandbox\"] }' src/Resume.md",
"dev": "md-to-pdf --config-file config.js --stylesheet stylesheet.css --devtools Resume.md" "dev": "md-to-pdf --config-file src/config.js --devtools Resume.md"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -1,5 +1,5 @@
module.exports = { module.exports = {
stylesheet: ['stylesheet.css'], stylesheet: ['src/stylesheet.css'],
pdf_options: { pdf_options: {
format: 'Letter', format: 'Letter',
margin: '0mm', margin: '0mm',