upload test
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Lucas Pleß 2022-08-29 21:17:18 +02:00
parent ce573fc1c1
commit e91cdd6879
1 changed files with 7 additions and 3 deletions

View File

@ -13,10 +13,14 @@ steps:
image: alpine
commands:
- ls
- name: Nur für citest_publish branch (später master)
image: alpine
- name: upload files to nextcloud
image: curlimages/curl
environment:
username:
from_secret: nextcloud_secret
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:
ref:
- refs/heads/citest_publish