Name: drone-rsync
Owner: drone-plugins
Description: Drone plugin for deploying code using rsync
Created: 2015-05-15 00:41:07.0
Updated: 2018-03-21 18:40:24.0
Pushed: 2018-03-17 00:26:55.0
Homepage: null
Size: 308
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
[](https://imagelayers.io/?images=plugins/drone-rsync:latest 'Get your own badge on imagelayers.io')
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
:
deps build
one-rsync <<EOF
"repo": {
"clone_url": "git://github.com/drone/drone",
"owner": "drone",
"name": "drone",
"full_name": "drone/drone"
},
"system": {
"link_url": "https://beta.drone.io"
},
"build": {
"number": 22,
"status": "success",
"started_at": 1421029603,
"finished_at": 1421029813,
"message": "Update the Readme",
"author": "johnsmith",
"author_email": "john.smith@gmail.com"
"event": "push",
"branch": "master",
"commit": "436b7a6e2abaddfd35740527353e78a227ddcb2c",
"ref": "refs/heads/master"
},
"workspace": {
"root": "/drone/src",
"path": "/drone/src/github.com/drone/drone"
},
"vargs": {
"user": "root",
"host":" test.drone.io",
"port": 22,
"source": "dist/",
"target": "/path/on/server",
"delete": false,
"recursive": false
}
Build the container using make
:
deps docker
er run -i plugins/drone-rsync <<EOF
"repo": {
"clone_url": "git://github.com/drone/drone",
"owner": "drone",
"name": "drone",
"full_name": "drone/drone"
},
"system": {
"link_url": "https://beta.drone.io"
},
"build": {
"number": 22,
"status": "success",
"started_at": 1421029603,
"finished_at": 1421029813,
"message": "Update the Readme",
"author": "johnsmith",
"author_email": "john.smith@gmail.com"
"event": "push",
"branch": "master",
"commit": "436b7a6e2abaddfd35740527353e78a227ddcb2c",
"ref": "refs/heads/master"
},
"workspace": {
"root": "/drone/src",
"path": "/drone/src/github.com/drone/drone"
},
"vargs": {
"user": "root",
"host":" test.drone.io",
"port": 22,
"source": "dist/",
"target": "/path/on/server",
"delete": false,
"recursive": false
}