Added drone config
This commit is contained in:
parent
06db6b8d8a
commit
2712b6ec26
2 changed files with 26 additions and 0 deletions
26
.drone.yml
Normal file
26
.drone.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
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
|
BIN
italian.pdf
BIN
italian.pdf
Binary file not shown.
Reference in a new issue