diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..d568d37 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,35 @@ +--- +kind: pipeline +type: docker +name: compose + +platform: + os: linux + arch: amd64 + +steps: +- name: compose press kit + image: pandoc/latex:3-alpine + commands: + - apk add --no-cache ghostscript make ttf-inconsolata ttf-linux-libertine + - tlmgr install enumitem preprint sectsty + - mkdir dist + - make -C en/ && cp en/press-kit.pdf dist/press-kit-en.pdf + - make -C fr/ && cp fr/press-kit.pdf dist/press-kit-fr.pdf + +- name: gitea_release + image: plugins/gitea-release + settings: + api_key: + from_secret: gitea_token + base_url: https://git.nemunai.re + files: dist/* + title: Press kit ${DRONE_TAG} + when: + event: tag + +trigger: + event: + - cron + - push + - tag diff --git a/header.tex b/header.tex index 2084947..0638642 100644 --- a/header.tex +++ b/header.tex @@ -13,10 +13,6 @@ \usepackage{sectsty} \allsectionsfont{\sffamily \bfseries} -% Use sans-serif font for title page -\usepackage{titling} -\renewcommand{\maketitlehooka}{\sffamily} - % Use monospaced font for URLs \usepackage{hyperref} \urlstyle{tt} @@ -24,10 +20,6 @@ % In french, list item starts with dash, not bullet \renewcommand\labelitemi{---} -\usepackage{etoolbox} - -\usepackage{tcolorbox} - \lstset{ belowcaptionskip=1\baselineskip, xleftmargin=6pt,