Files
plugin-drone-webdav/docs.md
T
6543 d9d0424b9f Update readme & Add docs.md (#16)
* docs: use "from_secret"

- https://docs.drone.io/secret/repository/
- https://woodpecker-ci.org/docs/usage/secrets

* Update Readme.md

* Add docs.md to add it to the WoodpeckerCI-Plugin index

https://woodpecker-ci.org/plugins
2022-12-28 15:20:17 -08:00

1.8 KiB

name, description, authors, tags, containerImage, containerImageUrl, url
name description authors tags containerImage containerImageUrl url
WebDAV plugin to publish any artifacts to any WebDAV server vividboarder
deploy
publish
vividboarder/drone-webdav https://hub.docker.com/r/vividboarder/drone-webdav https://github.com/vividboarder/drone-webdav

A Drone CI / Woodpecker CI plugin, that will allow pushing build artifacts to any WebDAV server, including Nextcloud or ownCloud.

Features

  • Upload multiple files
  • Use a proxy
  • Retry on fail

Settings

Settings Name Required Description
file File(s) to upload. Use curl syntax for multiple (e.g. {dogs.png,cats.jpg})
destination The WebDav folder url
user The WebDav-User to use
password The Password for the WebDav-User
proxy_url May be used to specify a proxy (e.g. socks5://{ip_address}:{port}
timeout Defines a timeout (in seconds) to stop the upload after a certain time
attempts Defines how often a failed upload should be retried. Normally there is only one upload attempt
custom_arguments Additional arguments to be passed to curl

Example

pipeline:
  upload_debug:
    image: vividboarder/drone-webdav
    settings:
      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:
        from_secret: WEBDAV_USER
      password:
        from_secret: WEBDAV_PASSWORD