Add CI
This commit is contained in:
parent
ba1b4bfbe8
commit
9c7ad0b7c1
35
.drone.yml
Normal file
35
.drone.yml
Normal file
@ -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
|
@ -13,10 +13,6 @@
|
|||||||
\usepackage{sectsty}
|
\usepackage{sectsty}
|
||||||
\allsectionsfont{\sffamily \bfseries}
|
\allsectionsfont{\sffamily \bfseries}
|
||||||
|
|
||||||
% Use sans-serif font for title page
|
|
||||||
\usepackage{titling}
|
|
||||||
\renewcommand{\maketitlehooka}{\sffamily}
|
|
||||||
|
|
||||||
% Use monospaced font for URLs
|
% Use monospaced font for URLs
|
||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
\urlstyle{tt}
|
\urlstyle{tt}
|
||||||
@ -24,10 +20,6 @@
|
|||||||
% In french, list item starts with dash, not bullet
|
% In french, list item starts with dash, not bullet
|
||||||
\renewcommand\labelitemi{---}
|
\renewcommand\labelitemi{---}
|
||||||
|
|
||||||
\usepackage{etoolbox}
|
|
||||||
|
|
||||||
\usepackage{tcolorbox}
|
|
||||||
|
|
||||||
\lstset{
|
\lstset{
|
||||||
belowcaptionskip=1\baselineskip,
|
belowcaptionskip=1\baselineskip,
|
||||||
xleftmargin=6pt,
|
xleftmargin=6pt,
|
||||||
|
Loading…
Reference in New Issue
Block a user