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.
Build the binary using make
:
make deps build
Build the container using make
:
make deps docker
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