26 lines
780 B
YAML
26 lines
780 B
YAML
workspace:
|
|
base: /drone
|
|
path: tesi
|
|
|
|
pipeline:
|
|
build:
|
|
image: registry.maggioni.xyz/praticamentetilde/latex:2018-basic
|
|
commands:
|
|
- tlmgr install blindtext koma-script float hyperref pgf biblatex
|
|
- tlmgr install pgfgantt listings collection-fontsrecommended comment
|
|
- tlmgr install biber
|
|
- pdflatex italian.tex && biber italian
|
|
- pdflatex italian.tex && pdflatex italian.tex
|
|
- pdflatex english.tex && biber english
|
|
- pdflatex english.tex && pdflatex english.tex
|
|
publish:
|
|
image: plugins/s3
|
|
bucket: drone
|
|
access_key: ${ACCESS_KEY}
|
|
secret_key: ${SECRET_KEY}
|
|
source: /drone/tesi/*.pdf
|
|
target: /
|
|
path_style: true
|
|
endpoint: https://s3.maggioni.xyz
|
|
|
|
branches: master
|