2021-10-31 22:22:54 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: compose
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: compose CV
|
|
|
|
image: pandoc/latex:2.14.2
|
|
|
|
commands:
|
|
|
|
- apk add --no-cache make ttf-linux-libertine
|
|
|
|
- wget -O /tmp/FantasqueSansMono-Normal.tar.gz https://github.com/belluzj/fantasque-sans/releases/download/v1.8.0/FantasqueSansMono-Normal.tar.gz
|
|
|
|
- mkdir /usr/share/fonts/fantasque-sans-mono
|
|
|
|
- tar xf /tmp/FantasqueSansMono-Normal.tar.gz -C /usr/share/fonts/fantasque-sans-mono OTF/ TTF/ --strip-component=1
|
|
|
|
- tlmgr install curve
|
|
|
|
- xelatex cv.tex
|
|
|
|
- xelatex cv.tex
|
|
|
|
- mkdir dist
|
|
|
|
|
2021-11-12 14:39:29 +00:00
|
|
|
- name: gitea_release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_token
|
|
|
|
base_url: https://git.nemunai.re
|
|
|
|
files: cv.pdf
|
|
|
|
title: CV ${DRONE_TAG}
|
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
|
2021-10-31 22:22:54 +00:00
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- cron
|
|
|
|
- push
|
|
|
|
- tag
|