diff --git a/.drone.yml b/.drone.yml index 94af6dd..c7b5b49 100644 --- a/.drone.yml +++ b/.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: diff --git a/makefile b/makefile index 46f298f..b836399 100644 --- a/makefile +++ b/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