Skip to content

russ-p/drone-rsync

 
 

Repository files navigation

drone-rsync

Build Status Coverage Status

Drone plugin to deploy or update a project via Rsync. For the usage information and a listing of the available options please take a look at the docs.

Binary

Build the binary using make:

make deps build

Docker

Build the container using make:

make deps docker

Usage

Execute from the working directory:

docker run --rm \
  -e PLUGIN_HOST=foo.com \
  -e PLUGIN_USER=root \
  -e PLUGIN_KEY="$(cat ${HOME}/.ssh/id_rsa)" \
  -e PLUGIN_SOURCE=dist/ \
  -e PLUGIN_TARGET=/path/on/server \
  -e PLUGIN_DELETE=true \
  -e PLUGIN_RECURSIVE=true \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  plugins/drone-rsync

About

Drone plugin for deploying code using rsync

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.0%
  • Makefile 5.0%