add support to add additional remote shell (--rsh) commands
This commit is contained in:
parent
f8b88bb4fa
commit
59a1203852
|
@ -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 New Issue