WoodpeckerPlugins/nextcloud-upload
2023-07-03 22:47:36 +02:00
..
.dockerignore first iteration 2023-07-02 16:53:53 +02:00
Dockerfile first iteration 2023-07-02 16:53:53 +02:00
package-lock.json added the ability to add tags to files 2023-07-03 13:11:49 +02:00
package.json added the ability to add tags to files 2023-07-03 13:11:49 +02:00
README.md added plugin metadata 2023-07-03 19:29:36 +02:00
run.js also add tags to created directories 2023-07-03 22:47:36 +02:00
test.sh don't print directory creation if it already exists 2023-07-03 13:40:43 +02:00

name authors description tags containerImage containerImageUrl url
Nextcloud Upload Ellpeck Upload files to Nextcloud using chunking and optionally add tags to files
deploy
publish
ellpeck/woodpecker-nextcloud-upload https://hub.docker.com/r/ellpeck/woodpecker-nextcloud-upload https://github.com/Ellpeck/WoodpeckerPlugins/tree/main/nextcloud-upload

Nextcloud Upload

Simple plugin to upload files to Nextcloud using chunking, based on a glob pattern and a destination location. Note that, since this uses Nextcloud's built-in chunking system, it likely doesn't work for other WebDAV applications.

Here's an example of how to use it:

steps:
  upload:
    image: ellpeck/woodpecker-nextcloud-upload
    settings:
      server: https://cloud.ellpeck.de # the server to use
      user: EllBot # the user
      token: access-token # the access token, or password if 2FA is disabled
      files: # the file(s), uses glob patterns
        - "**/*.md"
      dest: Uploads/CoolMarkdownFiles # the destination directory
      basedir: "." # optional, local base directory for files, defaults to .
      chunksize: # optional, chunk size in bytes, defaults to 10485760, or 10 MiB
      quiet: false # optional, whether to reduce output
      tags: # optional, a set of tags to apply to uploaded files, tag is expected to already exist
        - mytag