citest_publish #5
26
.drone.yml
26
.drone.yml
|
@ -17,19 +17,15 @@ steps:
|
|||
image: pdftk/pdftk
|
||||
commands:
|
||||
- pdftk satzung.pdf beitragsordnung.pdf schluesselordnung.pdf cat output satzung_mit_beitrags-_und_schluesselordnung.pdf
|
||||
# - name: upload files to nextcloud
|
||||
# image: curlimages/curl
|
||||
# environment:
|
||||
# username:
|
||||
# from_secret: nextcloud_secret
|
||||
# commands:
|
||||
# - |
|
||||
# curl -k -T satzung.pdf -u "$username" -H "X-Requested-With: XMLHttpRequest" https://cloud.ctdo.de/public.php/webdav/$(date +"%Y-%m-%d")_satzung.pdf
|
||||
# - |
|
||||
# curl -k -T beitragsordnung.pdf -u "$username" -H "X-Requested-With: XMLHttpRequest" https://cloud.ctdo.de/public.php/webdav/$(date +"%Y-%m-%d")_beitragsordnung.pdf
|
||||
# - |
|
||||
# curl -k -T schluesselordnung.pdf -u "$username" -H "X-Requested-With: XMLHttpRequest" https://cloud.ctdo.de/public.php/webdav/$(date +"%Y-%m-%d")_schluesselordnung.pdf
|
||||
# when:
|
||||
# ref:
|
||||
# - refs/heads/citest_publish
|
||||
- name: upload file to nextcloud
|
||||
image: curlimages/curl
|
||||
environment:
|
||||
username:
|
||||
from_secret: nextcloud_secret
|
||||
commands:
|
||||
- |
|
||||
curl -k -T satzung_mit_beitrags-_und_schluesselordnung.pdf -u "$username" -H "X-Requested-With: XMLHttpRequest" https://cloud.ctdo.de/public.php/webdav/$(date +"%Y-%m-%d")_satzung_mit_beitrags-_und_schluesselordnung.pdf
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/citest_publish
|
||||
|
||||
|
|
Loading…
Reference in New Issue