alleyinteractive/Deploy to Server Action
Deploys files to a remote server using rsync and (optionally) executes remote commands
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| server_user | Username for the remote server | yes | — |
| server_ip | IP address of the remote server | yes | — |
| source_directory | Source directory to deploy | no | . |
| destination_directory | Destination directory on the remote server (relative to server_user home directory) | yes | — |
| exclude_list | Comma-separated list of files and directories to exclude from sync | no | .git,node_modules,.env |
| ssh_private_key | SSH private key for authentication | yes | — |
| remote_commands | Commands to execute on the remote server after deployment | no | "" |
| delete_extraneous_files_from_destination | Delete extraneous files from the destination directory on the remote server (rsync --delete) | no | true |
| dry_run | Perform a dry run of the rsync command (rsync --dry-run) | no | false |
Outputs
no outputs