citest_publish #5
10
.drone.yml
10
.drone.yml
|
@ -13,10 +13,14 @@ steps:
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- ls
|
- ls
|
||||||
- name: Nur für citest_publish branch (später master)
|
- name: upload files to nextcloud
|
||||||
image: alpine
|
image: curlimages/curl
|
||||||
|
environment:
|
||||||
|
username:
|
||||||
|
from_secret: nextcloud_secret
|
||||||
commands:
|
commands:
|
||||||
- echo foo
|
- |
|
||||||
|
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
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/citest_publish
|
- refs/heads/citest_publish
|
||||||
|
|
Loading…
Reference in New Issue