manual/.drone.yml

59 lines
1.2 KiB
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
2022-12-14 20:46:36 +01:00
- make html
---
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-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
PLUGIN_HOSTNAME:
2022-12-14 14:51:30 +01:00
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