alleyinteractive/Deploy to Server Action

Deploys files to a remote server using rsync and (optionally) executes remote commands

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
server_userUsername for the remote serveryes
server_ipIP address of the remote serveryes
source_directorySource directory to deployno.
destination_directoryDestination directory on the remote server (relative to server_user home directory)yes
exclude_listComma-separated list of files and directories to exclude from syncno.git,node_modules,.env
ssh_private_keySSH private key for authenticationyes
remote_commandsCommands to execute on the remote server after deploymentno""
delete_extraneous_files_from_destinationDelete extraneous files from the destination directory on the remote server (rsync --delete)notrue
dry_runPerform a dry run of the rsync command (rsync --dry-run)nofalse

no outputs