Skip to content

Selflify/preview-rsync-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Selflify Preview Rsync Action

Upload a built site directory to a Selflify preview server over SSH and rsync.

What it does

  • prepares the remote preview directory under /var/www/<site>/<path-name>
  • syncs the build output with rsync --delete
  • writes a __preview_commit__/$GITHUB_SHA marker for readiness checks

Usage

- uses: Selflify/preview-rsync-action@v1
  with:
    ssh-private-key: ${{ secrets.PREVIEW_SSH_PRIVATE_KEY }}
    preview-server-host: ${{ secrets.PREVIEW_SERVER_HOST }}
    preview-ssh-user: root
    preview-root-dir: /var/www
    site: marketing
    path-name: pr-42
    output: dist

About

Upload built preview files to a Selflify server over SSH and rsync.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors