File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # rsync
2+
3+ rsync 同步文件工具
4+
5+ ## 在 Docker 上使用
6+
7+ ``` shell
8+ docker build --rm -t -v $( pwd) :$( pwd) -w $( pwd) drillster/drone-rsync .
9+ ```
10+
11+ ## 在 Coding-CI 上使用
12+
13+ ``` yml
14+ master :
15+ push :
16+ - stages :
17+ - name : rsync
18+ image : drillster/drone-rsync
19+ settings :
20+ key : xxx
21+ hosts :
22+ - ip1
23+ - ip2
24+ target : .
25+ prescript : echo 'pre script'
26+ script : echo 'script'
27+ args : args
28+ ` ` `
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " rsync" ,
3+ "description" : " rsync 文件同步工具" ,
4+ "tags" : [" rsync" , " publish" ],
5+ "mark" : " 社区" ,
6+ "images" : " https://hub.docker.com/r/drillster/drone-rsync/tags" ,
7+ "source" : " https://github.com/drillster/drone-rsync" ,
8+ "bugs" : " https://github.com/Drillster/drone-rsync/issues"
9+ }
You can’t perform that action at this time.
0 commit comments