[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>
This commit is contained in:
opyale 2020-05-28 10:19:14 +00:00 committed by 6543
parent f1eb632d9b
commit 6654b6fb48
1 changed files with 7 additions and 7 deletions

View File

@ -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: