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
|
port: 22
|
||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
script:
|
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
|
- name: return_pdf
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
stylesheet: ['stylesheet.css'],
|
|
||||||
pdf_options: {
|
pdf_options: {
|
||||||
format: 'Letter',
|
format: 'Letter',
|
||||||
margin: '0mm',
|
margin: '0mm',
|
||||||
|
@ -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 --launch-options '{ \"args\": [\"--no-sandbox\", \"--disable-setuid-sandbox\"] }' 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 --devtools Resume.md"
|
"dev": "md-to-pdf --config-file config.js --stylesheet stylesheet.css --devtools Resume.md"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
Reference in New Issue
Block a user