From 6654b6fb487afa838ccb91c4b4aba4c7d03d5a53 Mon Sep 17 00:00:00 2001 From: opyale Date: Thu, 28 May 2020 10:19:14 +0000 Subject: [PATCH] [CI] Use enviroment variables again (#511) [CI] Hopefully fixing upload now. Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/511 Reviewed-by: 6543 <6543@noreply.gitea.io> --- .drone.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 422f3513..faf39cab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -81,15 +81,15 @@ steps: - name: publish image: vividboarder/drone-webdav - username: GitNexBot - file: 'signed.apk' - destination: 'https://cloud.swatian.com/remote.php/dav/files/GitNexBot/GitNex-Builds/latest.apk' - custom_arguments: '--progress-bar' - timeout: 180 - attempts: 5 environment: - PLUGIN_PASSWORD: + WEBDAV_USERNAME: GitNexBot + WEBDAV_PASSWORD: from_secret: NC_TOKEN + PLUGIN_FILE: 'signed.apk' + PLUGIN_TIMEOUT: 180 + PLUGIN_ATTEMPTS: 5 + PLUGIN_DESTINATION: 'https://cloud.swatian.com/remote.php/dav/files/GitNexBot/GitNex-Builds/latest.apk' + PLUGIN_CUSTOM_ARGUMENTS: '--progress-bar' trigger: event: