Compare commits
4 Commits
drone-sphi
...
test
Author | SHA1 | Date | |
---|---|---|---|
72d0012f33
|
|||
431607c6e5 | |||
64b7c3eaeb | |||
77473030b5 |
50
.drone.yml
50
.drone.yml
@ -1,11 +1,6 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
name: default
|
||||||
name: amd64-main
|
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
@ -19,27 +14,30 @@ steps:
|
|||||||
image: sphinxdoc/sphinx-latexpdf:5.0.2
|
image: sphinxdoc/sphinx-latexpdf:5.0.2
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get -y install texlive-lang-german rsync
|
- apt-get -y install texlive-lang-german
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- make -j4 latexpdf
|
- make latexpdf
|
||||||
- name: upload
|
|
||||||
image: alpine
|
|
||||||
environment:
|
|
||||||
NC_USER:
|
|
||||||
from_secret: nextcoud_user
|
|
||||||
NC_PASSWORD:
|
|
||||||
from_secret: nextcloud_password
|
|
||||||
commands:
|
|
||||||
- apt add curl
|
|
||||||
- curl -X PUT -u $NC_USER:$NC_PASSWORD https://work.wtf-eg.de/remote.php/dav/files/$NC_USER/FreeFleetManagement/FFFleet%20Handbuch.pdf -T bundle/latex/rtfm-dashandbuchderfreefederatedfleetfffleetinitiative.pdf
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: pipeline
|
||||||
hmac: 7225cd21b9a1284bba09bd0f943e5873865f176e1dca49147ea8e309421e6726
|
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
|
||||||
|
Reference in New Issue
Block a user