Skip to content

Remote Sync

Actions

About

Sync files with a remote server using rsync
v1.0.0
Latest
Star (1)

Remote Sync

A GitHub Action to sync files with a remote host using rsync.

Inputs

Name Description
source Local source directory.
target Remote target directory.
host Remote host name.
user Remote user.
key Private SSH key.
args [optional] Additional rsync arguments.

Example

steps:
  - uses: gwllx/remote-sync@v1
    with:
      source: .
      target: /www
      host: ${{ secrets.DEPLOY_HOST }}
      user: ${{ secrets.DEPLOY_USER }}
      key: ${{ secrets.DEPLOY_KEY }}
      args: -rv --delete

Remote Sync is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Sync files with a remote server using rsync
v1.0.0
Latest

Remote Sync is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.