mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2025-12-19 11:12:18 +01:00
fix: correct variable name for INPUT_SWITCHES in rsync command execution
This commit is contained in:
parent
82725684f9
commit
c0170dd157
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ LOCAL_PATH="$GITHUB_WORKSPACE/$INPUT_PATH"
|
||||||
DSN="$INPUT_REMOTE_USER@$INPUT_REMOTE_HOST"
|
DSN="$INPUT_REMOTE_USER@$INPUT_REMOTE_HOST"
|
||||||
|
|
||||||
# Deploy.
|
# Deploy.
|
||||||
sh -c "rsync $SWITCHES -e '$RSH' $LOCAL_PATH $DSN:$INPUT_REMOTE_PATH"
|
sh -c "rsync $INPUT_SWITCHES -e '$RSH' $LOCAL_PATH $DSN:$INPUT_REMOTE_PATH"
|
||||||
|
|
||||||
# Clean up.
|
# Clean up.
|
||||||
source agent-stop "$GITHUB_ACTION"
|
source agent-stop "$GITHUB_ACTION"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue