This really should be a lambda
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
7407f2a943
commit
5d5215e46d
@ -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
|
||||
|
@ -1,5 +1,4 @@
|
||||
module.exports = {
|
||||
stylesheet: ['stylesheet.css'],
|
||||
pdf_options: {
|
||||
format: 'Letter',
|
||||
margin: '0mm',
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user