Skip to content

Deploy with rsync

Actions
Deploy to a remote server using rsync over ssh
v1.0.2
Latest
Star (44)

Tags

 (1)

rsync-deploy

Deploy to a remote server using rsync.

example usage to sync everything in the workspace folder:

- name: deploy to server
        uses: AEnterprise/[email protected]
        env:
          DEPLOY_KEY: ${{ secrets.SERVER_SSH_KEY }}
          ARGS: "-e -c -r --delete"
          SERVER_PORT: ${{ secrets.SERVER_PORT }}
          FOLDER: "./"
          SERVER_IP: ${{ secrets.SERVER_IP }}
          USERNAME: ${{ secrets.USERNAME }}
          SERVER_DESTINATION: ${{ secrets.SERVER_DESTINATION }}

If you only want to sync a specific subfolder you can put that folder in the folder env var instead

Deploy with rsync 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

Deploy to a remote server using rsync over ssh
v1.0.2
Latest

Tags

 (1)

Deploy with rsync 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.