imajeetyadav/Rsync Deployer

Deploy files using rsync over SSH with detailed statistics and backup options

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Nov 11, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: imajeetyadav/rsync-deployer@92d42a2538e4720a7c25699d805c1f48648e8397 # 2.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
hostSSH hostyes
usernameSSH usernameyes
keySSH private keyyes
portSSH portno22
source_pathSource pathno.
target_pathTarget path on remote hostyes
exclude_listList of files/directories to exclude (comma-separated)no.git/
rsync_parametersAdditional rsync parametersno
delete_optionDelete extraneous files from destination dirsnofalse
backup_pathBackup directory path on remote hostno
dry_runPerform a trial run with no changes madenofalse
print_summaryPrint deployment summarynotrue
print_statisticsPrint deployment statisticsnotrue
print_rsync_logsPrint rsync logs during executionnotrue
debugEnable debug modenofalse

no outputs