This commit is contained in:
parent
1a5361ce9f
commit
141d8f232e
36
.drone.yml
Normal file
36
.drone.yml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: pandoc
|
||||||
|
image: pandoc/latex:edge
|
||||||
|
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
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.pdf
|
11
makefile
11
makefile
@ -1,5 +1,8 @@
|
|||||||
cv.pdf: cv.yaml
|
cv.pdf: cv.yaml out
|
||||||
pandoc cv.yaml --template pancv -o cv.pdf
|
pandoc cv.yaml --template pancv -o out/cv.pdf
|
||||||
|
|
||||||
epass.pdf: cv.yaml
|
epass.pdf: cv.yaml out
|
||||||
pandoc cv.yaml --template pancv -V europass -o epass.pdf
|
pandoc cv.yaml --template pancv -V europass -o out/epass.pdf
|
||||||
|
|
||||||
|
out:
|
||||||
|
mkdir out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user