manual/.drone.yml

44 lines
826 B
YAML
Raw Normal View History

2022-11-21 22:00:21 +01:00
---
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:
2022-11-21 22:00:21 +01:00
- name: build
image: sphinxdoc/sphinx-latexpdf:5.0.2
commands:
- apt-get update
- apt-get -y install texlive-lang-german
2022-11-21 22:00:21 +01:00
- pip install -r requirements.txt
- make latexpdf
2022-11-21 22:00:21 +01:00
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.wtf-eg.de
2022-11-22 15:11:21 +01:00
files: build/latex/rtfm-dashandbuchderfreefederatedfleetinitiative.pdf