easingthemes/ssh deploy

NodeJS action for FAST deployment with rsync/ssh and remote script execution before/after rsync

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
SSH_PRIVATE_KEYPrivate key part of an SSH key pairyes
REMOTE_HOSTRemote hostyes
REMOTE_USERRemote useryes
REMOTE_PORTRemote portno22
SOURCESource directory, path relative to `$GITHUB_WORKSPACE` root, eg: `dist/`no""
TARGETTarget directoryno""
ARGSArguments to pass to rsyncno-rlgoDzvc -i
SSH_CMD_ARGSAn array of ssh arguments, they must be prefixed with -o and separated by a comma, for example: -o SomeArgument=no, -o SomeOtherArgument=5 no-o StrictHostKeyChecking=no
EXCLUDEpaths to exclude separated by `,`, ie: `/dist/, /node_modules/`no""
SCRIPT_BEFOREScript to run on host machine before rsyncno""
SCRIPT_BEFORE_REQUIREDIf not an empty string, the action will fail if the before script fails. Note: The string 'false' will be treated as trueno""
SCRIPT_AFTERScript to run on host machine after rsyncno""
SCRIPT_AFTER_REQUIREDIf not an empty string, the action will fail if the after script fails. Note: The string 'false' will be treated as trueno""
namedescription
statusStatus