ckrack/Deploy via rsync

Deploy a release to a remote server via rsync and SSH. Handles release directory creation, shared file/directory symlinking, remote command execution, release activation, and old release cleanup.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
project_pathRemote project base path (e.g., /var/www/project)yes
docrootRemote docroot symlink path (e.g., /var/www/html)yes
docroot_pathSubdirectory within the release to use as docroot (e.g., /public). Leave empty to use the release root.no""
release_groupRelease group prefix (e.g., staging, prod) to isolate releasesyes
rsync_switchesFlags and options passed to rsyncno
rsync_debugEnable rsync debug outputnotrue
shared_filesNewline-separated list of shared files to symlink into the releaseno
shared_dirsNewline-separated list of shared directories to symlink into the releaseno
remote_commandsShell commands to run inside the release directory after rsync and symlinking (before activation)no""
cleanupRemove old releases from the same release group after activationnofalse
ssh_hostRemote SSH hostyes
ssh_userRemote SSH useryes
ssh_keySSH private keyyes
ssh_passphraseSSH key passphraseno""

no outputs