Remove drone file
This commit is contained in:
parent
d838576243
commit
92976b6033
49
.drone.yml
49
.drone.yml
@ -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
|
|
@ -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",
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user