mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-21 23:13:46 +01:00
add support to add additional remote shell (--rsh) commands
This commit is contained in:
parent
f8b88bb4fa
commit
59a1203852
1 changed files with 1 additions and 1 deletions
|
@ -14,4 +14,4 @@ echo "$DEPLOY_KEY" > "$SSH_PATH/deploy_key"
|
|||
chmod 600 "$SSH_PATH/deploy_key"
|
||||
|
||||
# Do deployment
|
||||
sh -c "rsync $INPUT_SWITCHES -e 'ssh -i $SSH_PATH/deploy_key -o StrictHostKeyChecking=no' $INPUT_EXCLUDES $GITHUB_WORKSPACE/$INPUT_PATH $INPUT_UPLOAD_PATH"
|
||||
sh -c "rsync $INPUT_SWITCHES -e 'ssh -i $SSH_PATH/deploy_key -o StrictHostKeyChecking=no $INPUT_RSH' $INPUT_EXCLUDES $GITHUB_WORKSPACE/$INPUT_PATH $INPUT_UPLOAD_PATH"
|
||||
|
|
Loading…
Reference in a new issue