Skip to content

tohn/rsync-deploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsync-deploy

Deploy to a remote server using rsync.

example usage to sync everything in the workspace folder:

- name: deploy to server
  uses: tohn/rsync-deploy@v1
  env:
    DEPLOY_KEY: ${{ secrets.SERVER_SSH_KEY }}
    ARGS: "-e -c -r --delete"
    SSH_ARGS: "-vvvv"
    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

About

Deploy to a remote server using rsync.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 73.7%
  • Dockerfile 26.3%