reference #1
This commit is contained in:
parent
f35f5607a2
commit
c6ddd74491
14
.drone.yml
14
.drone.yml
@ -6,30 +6,18 @@ steps:
|
||||
- name: pandoc
|
||||
image: norangebit/pandocker:latest
|
||||
user: 1000:1000
|
||||
volumes:
|
||||
- name: tmp
|
||||
path: /drone/src/out
|
||||
commands:
|
||||
- make
|
||||
- name: gitea release
|
||||
image: plugins/gitea-release
|
||||
user: 1000:1000
|
||||
volumes:
|
||||
- name: tmp
|
||||
path: /drone/src/out
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: gitea_release
|
||||
base_url: https://git.norangeb.it
|
||||
title: corriculum vitae
|
||||
files:
|
||||
- /drone/src/out/*.pdf
|
||||
|
||||
|
||||
volumes:
|
||||
- name: tmp
|
||||
host:
|
||||
path: /home/drone
|
||||
- build/*.pdf
|
||||
|
||||
trigger:
|
||||
event:
|
||||
|
10
makefile
10
makefile
@ -1,8 +1,8 @@
|
||||
cv.pdf: cv.yaml out
|
||||
pandoc cv.yaml --template pancv -o out/cv.pdf
|
||||
cv.pdf: cv.yaml build
|
||||
pandoc cv.yaml --template pancv -o build/cv.pdf
|
||||
|
||||
epass.pdf: cv.yaml out
|
||||
pandoc cv.yaml --template pancv -V europass -o out/epass.pdf
|
||||
pandoc cv.yaml --template pancv -V europass -o build/epass.pdf
|
||||
|
||||
out:
|
||||
mkdir out
|
||||
build:
|
||||
mkdir build
|
||||
|
Loading…
x
Reference in New Issue
Block a user