manual/.drone.yml
Brain 72d0012f33
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Separate pipelines for PRs and releases
2022-11-22 13:57:12 +01:00

44 lines
833 B
YAML

---
kind: pipeline
name: default
trigger:
branch:
- main
event:
- push
- pull_request
steps:
- name: build
image: sphinxdoc/sphinx-latexpdf:5.0.2
commands:
- apt-get update
- apt-get -y install texlive-lang-german
- pip install -r requirements.txt
- make latexpdf
---
kind: pipeline
name: publish
trigger:
event:
- tag
steps:
- name: build
image: sphinxdoc/sphinx-latexpdf:5.0.2
commands:
- apt-get update
- apt-get -y install texlive-lang-german
- pip install -r requirements.txt
- make latexpdf
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.wtf-eg.de
files: build/latex/rtfm-dashandbuchderfreefederatedfleetfffleetinitiative.pdf