mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-21 18:04:37 +00:00
fix: correct variable name for INPUT_SWITCHES in rsync command execution
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ LOCAL_PATH="$GITHUB_WORKSPACE/$INPUT_PATH"
|
||||
DSN="$INPUT_REMOTE_USER@$INPUT_REMOTE_HOST"
|
||||
|
||||
# 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.
|
||||
source agent-stop "$GITHUB_ACTION"
|
||||
|
||||
Reference in New Issue
Block a user