Add readme
This commit is contained in:
parent
92c8ca86ee
commit
1741501f11
31
Readme.md
Normal file
31
Readme.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# drone-webdav
|
||||||
|
*A WebDAV plugin for the drone.io project*
|
||||||
|
|
||||||
|
The WebDAV plugin will allow pushing build artifacts to any WebDAV server, including Nextcloud or ownCloud.
|
||||||
|
|
||||||
|
An example configuration would be as follows:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
pipeline:
|
||||||
|
upload_debug:
|
||||||
|
image: vividboarder/drone-webdav
|
||||||
|
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
|
||||||
|
password: mypassword
|
||||||
|
```
|
||||||
|
|
||||||
|
You probably don't want to check your credentials into your repo, so you may use secrets for this:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
pipeline:
|
||||||
|
upload_debug:
|
||||||
|
image: vividboarder/drone-webdav
|
||||||
|
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:
|
||||||
|
- source: WEBDAV_USER
|
||||||
|
target: PLUGIN_USERNAME
|
||||||
|
- source: WEBDAV_PASSWORD
|
||||||
|
target: PLUGIN_PASSWORD
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user