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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| project_path | Remote project base path (e.g., /var/www/project) | yes | — |
| docroot | Remote docroot symlink path (e.g., /var/www/html) | yes | — |
| docroot_path | Subdirectory within the release to use as docroot (e.g., /public). Leave empty to use the release root. | no | "" |
| release_group | Release group prefix (e.g., staging, prod) to isolate releases | yes | — |
| rsync_switches | Flags and options passed to rsync | no | — |
| rsync_debug | Enable rsync debug output | no | true |
| shared_files | Newline-separated list of shared files to symlink into the release | no | — |
| shared_dirs | Newline-separated list of shared directories to symlink into the release | no | — |
| remote_commands | Shell commands to run inside the release directory after rsync and symlinking (before activation) | no | "" |
| cleanup | Remove old releases from the same release group after activation | no | false |
| ssh_host | Remote SSH host | yes | — |
| ssh_user | Remote SSH user | yes | — |
| ssh_key | SSH private key | yes | — |
| ssh_passphrase | SSH key passphrase | no | "" |
Outputs
no outputs