This really should be a lambda
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Thomas Cole 2022-06-03 10:19:32 -04:00
parent 7407f2a943
commit 5d5215e46d
3 changed files with 3 additions and 4 deletions

View File

@ -25,7 +25,7 @@ steps:
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 --config-file /tmp/resumemd/config.js /tmp/resumemd/Resume.md
- /home/thomas/.nvm/versions/node/v17.4.0/bin/node /home/thomas/.nvm/versions/node/v17.4.0/bin/md-to-pdf --stylesheet stylesheet.css --config-file /tmp/resumemd/config.js /tmp/resumemd/Resume.md
- name: return_pdf
image: appleboy/drone-scp

View File

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

View File

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