Skip to content

domonda/actions-rsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsync action

Copy files to another host over a remote shell.

Inputs

deploy-key

Required The SSH deployment key used to authenticate at the destination host.

from

Required Workspace relative path from which you want to copy files from.

to

Required Destination path including in the usual rsync format USER@HOST:DEST.

delete

Optional Delete extraneous files from destination.

exclude

Optional Exclude files matching the pattern.

Example usage

uses: domonda/actions-rsync@v1
with:
  deploy-key: ${{ secrets.DEPLOY_KEY }}
  from: dist
  to: [email protected]:/srv/example.com
  delete: true
  exclude: "'*.map'"

License

The scripts and documentation in this project are released under the ISC license.