A Drone CI / Woodpecker CI plugin, that will allow pushing build artifacts to any WebDAV server, including Nextcloud or ownCloud.
Go to file
MichaelYick 18a6f94117 Inital Commit 2023-03-22 15:26:53 -05:00
Dockerfile Inital Commit 2023-03-22 15:26:53 -05:00
LICENSE Initial commit 2023-03-22 08:06:27 +00:00
README.md Inital Commit 2023-03-22 15:26:53 -05:00
push.sh Inital Commit 2023-03-22 15:26:53 -05:00

README.md

Woodpecker-Webdav

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

Settings

Username

The username to the account that will be uploading to the WebDAV instance (if necessary)

Password

The password to the account that will be uploading to the WebDAV instance (if necessary)

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

destination

The WebDav folder url.

I.e https://nextcloud.example.org/remote.php/dav/files/Admin/Folder/Fang/

Note: The trailing slash is necessary.

file_glob

The glob pattern for accessing the files that need to be uploaded. I.e *-dist/* will upload everything that mattches the glob pattern of *-dist/* in the current folder.

make_folder_at

Directs the program to make a folder at a given webDAV location. Must use the same syntax as

I.e https://nextcloud.example.org/remote.php/dav/files/Admin/Folder/Fang/GreenFang/