Skip to content

Drone plugin for syncing files and directories to remote servers

License

Notifications You must be signed in to change notification settings

pree/drone-rsync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-rsync

drone-rsync on Docker Hub

This is a pure Bash Drone 0.5 plugin to sync files to remote hosts.

For more information on how to use the plugin, please take a look at the docs.

Docker

Build the docker image by running:

docker build --rm=true -t drillster/drone-rsync .

Usage

Execute from the working directory (assuming you have an SSH server running on 127.0.0.1:22):

docker run --rm \
  -e PLUGIN_KEY=$(cat some-private-key) \
  -e PLUGIN_HOSTS="127.0.0.1" \
  -e PLUGIN_TARGET="./" \
  -e PLUGIN_SCRIPT="echo \"Done!\"" \
  -e PLUGIN_ARGS="--blocking-io" \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  drillster/drone-rsync

About

Drone plugin for syncing files and directories to remote servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%