automatic build
Some checks reported errors
continuous-integration/drone/tag Build was killed

This commit is contained in:
Raffaele Mignone 2020-02-23 15:59:38 +01:00
parent 1a5361ce9f
commit 141d8f232e
Signed by: norangebit
GPG Key ID: F5255658CB220573
3 changed files with 44 additions and 4 deletions

36
.drone.yml Normal file
View 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
View File

@ -0,0 +1 @@
*.pdf

View File

@ -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