mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2024-11-21 23:13:46 +01:00
added INPUT_REMOTE_PORT input for different port
This commit is contained in:
parent
2f8edbc7f1
commit
0186c3a6b2
1 changed files with 1 additions and 1 deletions
|
@ -15,4 +15,4 @@ echo "$INPUT_REMOTE_KEY" > "$SSH_PATH/key"
|
|||
chmod 600 "$SSH_PATH/key"
|
||||
|
||||
# Do deployment
|
||||
sh -c "rsync $INPUT_SWITCHES -e 'ssh -i $SSH_PATH/key -o StrictHostKeyChecking=no $INPUT_RSH' $GITHUB_WORKSPACE/$INPUT_PATH $INPUT_REMOTE_USER@$INPUT_REMOTE_HOST:$INPUT_REMOTE_PATH"
|
||||
sh -c "rsync $INPUT_SWITCHES -e 'ssh -i $SSH_PATH/key -o StrictHostKeyChecking=no -p $INPUT_REMOTE_PORT $INPUT_RSH' $GITHUB_WORKSPACE/$INPUT_PATH $INPUT_REMOTE_USER@$INPUT_REMOTE_HOST:$INPUT_REMOTE_PATH"
|
||||
|
|
Loading…
Reference in a new issue