2022-11-21 22:00:21 +01:00
|
|
|
---
|
2022-11-17 18:39:50 +01:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
2022-11-22 13:57:12 +01:00
|
|
|
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
|
|
|
|
|
2022-11-17 18:39:50 +01:00
|
|
|
steps:
|
2022-11-21 22:00:21 +01:00
|
|
|
- name: build
|
|
|
|
image: sphinxdoc/sphinx-latexpdf:5.0.2
|
|
|
|
commands:
|
|
|
|
- apt-get update
|
2022-11-22 13:57:12 +01:00
|
|
|
- apt-get -y install texlive-lang-german
|
2022-11-21 22:00:21 +01:00
|
|
|
- pip install -r requirements.txt
|
2022-11-22 13:57:12 +01:00
|
|
|
- make latexpdf
|
2022-12-14 14:51:30 +01:00
|
|
|
- make html
|
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
|
2022-12-14 14:51:30 +01:00
|
|
|
- name: html
|
|
|
|
image: cschlosser/drone-ftps
|
|
|
|
environment:
|
|
|
|
FTP_USERNAME:
|
|
|
|
from_secret: username
|
|
|
|
FTP_PASSWORD:
|
|
|
|
from_secret: password
|
|
|
|
FTP_HOSTNAME:
|
|
|
|
from_secret: hostname
|
|
|
|
PLUGIN_SRC_DIR: /build/html
|
|
|
|
PLUGIN_DEST_DIR: /home/pacs/sib00/users/swingbe_fffleet/doms/fffleet.swingbe.de/subs-ssl/www
|
|
|
|
PLUGIN_MIRROR_OPTS: -e
|
|
|
|
PLUGIN_CLEAN_DIR: false
|