fkwdigital/Deploy WordPress Website Files to Ubuntu Server

Deploy via rsync over SSH with enforced excludes and flexible path configuration.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
SSH_PRIVATE_KEYPrivate key contents (highly recommended to add through GitHub secrets)yes
REMOTE_HOSTDestination host (server IP or hostname)yes
REMOTE_USERSSH usernameyes
REMOTE_PORTSSH port22
REMOTE_PATHAbsolute remote path (e.g., /var/www/html, /home/user/public_html)yes
SOURCERelative local source. Defaults to public/.public/
RSYNC_ARGSRsync args (space separated).-azvr --inplace --exclude='.*' --no-perms --no-times
SSH_PASSPHRASEPassphrase for the SSH private key (required by some managed hosts)no
KNOWN_HOSTSContents of ~/.ssh/known_hosts for the remote server. Obtain via: ssh-keyscan -H your-host. Strongly recommended — omitting disables host key verification.no
ARGS(Alias) Same as RSYNC_ARGS for compatibility.no
EXCLUDE_FILEOptional path to an rsync --exclude-from file (e.g., ./public/exclude.txt)no
EXTRA_EXCLUDEOptional comma-separated extra exclude patterns appended to the built-in list.no

no outputs