1
0
mirror of https://codeberg.org/gitnex/GitNex synced 2024-12-23 00:48:57 +01:00

[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

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: