Copy files to another host over a remote shell.
Required The SSH deployment key used to authenticate at the destination host.
Required Workspace relative path from which you want to copy files from.
Required Destination path including in the usual rsync format USER@HOST:DEST.
Optional Delete extraneous files from destination.
Optional Exclude files matching the pattern.
uses: domonda/actions-rsync@v1
with:
deploy-key: ${{ secrets.DEPLOY_KEY }}
from: dist
to: [email protected]:/srv/example.com
delete: true
exclude: "'*.map'"
The scripts and documentation in this project are released under the ISC license.