Begerad, Stefan
cad768627f
All checks were successful
continuous-integration/drone/push Build is passing
59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
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
|
|
- make html
|
|
|
|
---
|
|
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
|
|
- make html
|
|
- 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-dashandbuchderfreefederatedfleetinitiative.pdf
|
|
- name: html
|
|
image: cschlosser/drone-ftps
|
|
environment:
|
|
FTP_USERNAME:
|
|
from_secret: username
|
|
FTP_PASSWORD:
|
|
from_secret: password
|
|
PLUGIN_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
|