From e91cdd6879634f9f30630fc9b0075c0889dc0401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Ple=C3=9F?= Date: Mon, 29 Aug 2022 21:17:18 +0200 Subject: [PATCH] upload test --- .drone.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index dc3c757..a9f7271 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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