Skip to content

PieterScheffers/drone-scp-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-scp-command

Execute scp command in drone

Usage

Execute from the working directory:

docker run --rm \
  -e PLUGIN_KEY="$(cat ~/.ssh/id_rsa)" \
  -e PLUGIN_PORT=22 \
  -e PLUGIN_SOURCE=my_local_file \
  -e PLUGIN_TARGET=myuser@somehost:/path/to/remote \
  -e PLUGIN_RECURSIVE=true \
  -e PLUGIN_COMPRESSION=true \
  -e PLUGIN_PRESERVE_TIMESTAMPS=true \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  pieterscheffers/drone-scp-command

About

Execute scp command in drone CI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages