Update readme to reflect plugin settings syntax

Fixes #13
This commit is contained in:
ViViDboarder 2020-08-26 16:33:16 -07:00
parent 30febb63a3
commit 7b236ca078

View File

@ -9,8 +9,9 @@ An example configuration would be as follows:
pipeline: pipeline:
upload_debug: upload_debug:
image: vividboarder/drone-webdav image: vividboarder/drone-webdav
file: com.vividboarder.otbeta/build/outputs/apk/com.vividboarder.otbeta-debug.apk settings:
destination: https://my.nextcloud.com/remote.php/dav/files/vividboarder/Android/Apks/ file: com.vividboarder.otbeta/build/outputs/apk/com.vividboarder.otbeta-debug.apk
destination: https://my.nextcloud.com/remote.php/dav/files/vividboarder/Android/Apks/
user: myusername user: myusername
password: mypassword password: mypassword
``` ```
@ -21,8 +22,9 @@ You probably don't want to check your credentials into your repo, so you may use
pipeline: pipeline:
upload_debug: upload_debug:
image: vividboarder/drone-webdav image: vividboarder/drone-webdav
file: com.vividboarder.otbeta/build/outputs/apk/com.vividboarder.otbeta-debug.apk settings:
destination: https://my.nextcloud.com/remote.php/dav/files/vividboarder/Android/Apks/ file: com.vividboarder.otbeta/build/outputs/apk/com.vividboarder.otbeta-debug.apk
destination: https://my.nextcloud.com/remote.php/dav/files/vividboarder/Android/Apks/
secrets: secrets:
- source: WEBDAV_USER - source: WEBDAV_USER
target: PLUGIN_USERNAME target: PLUGIN_USERNAME