forked from wtf-eg/handbuch-gen
Deploy build files to a Nextcloud folder
This commit is contained in:
parent
fd9f84d868
commit
233498ef5e
19
.drone.yml
19
.drone.yml
@ -35,9 +35,26 @@ steps:
|
|||||||
- apt-get -y install texlive-lang-german rsync
|
- apt-get -y install texlive-lang-german rsync
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- make -j4 bundle
|
- make -j4 bundle
|
||||||
|
- name: upload
|
||||||
|
image: alpine
|
||||||
|
environment:
|
||||||
|
NC_USER:
|
||||||
|
from_secret: nextcloud_user
|
||||||
|
NC_PASSWORD:
|
||||||
|
from_secret: nextcloud_password
|
||||||
|
commands:
|
||||||
|
- apk add curl
|
||||||
|
- curl -X PUT -u $NC_USER:$NC_PASSWORD https://work.wtf-eg.de/remote.php/dav/files/$NC_USER/Member-Handbuch/Das%20Handbuch%20zur%20WTF%20eG.pdf -T bundle/rtfm-dashandbuchzurwtfeg.pdf
|
||||||
|
- curl -X PUT -u $NC_USER:$NC_PASSWORD https://work.wtf-eg.de/remote.php/dav/files/$NC_USER/Member-Handbuch/Das%20Handbuch%20zur%20WTF%20eG.epub -T bundle/RTFM-DasHandbuchzurWTFeG.epub
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: a0a4b7ba82017ec84889766fe8b15b8acbea104753bfe3ff61c212686122ea02
|
hmac: 84db7299d18047e70a324c4b059f8a2cdd13b497ac439264e4430a37e443c610
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user