Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Commit cf4fefc

Browse files
committed
Allow user to add SSH-specific arguments
This can be useful in cases where some more intricate ways to contact the remote server are necessary, e.g. adding '-o' arguments.
1 parent 8ef1b35 commit cf4fefc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ echo "$DEPLOY_KEY" > "$SSHPATH/key"
99
chmod 600 "$SSHPATH/key"
1010
SERVER_DEPLOY_STRING="$USERNAME@$SERVER_IP:$SERVER_DESTINATION"
1111
# sync it up"
12-
sh -c "rsync $ARGS -e 'ssh -i $SSHPATH/key -o StrictHostKeyChecking=no -p $SERVER_PORT' $GITHUB_WORKSPACE/$FOLDER $SERVER_DEPLOY_STRING"
12+
sh -c "rsync $ARGS -e 'ssh -i $SSHPATH/key -o StrictHostKeyChecking=no -p $SERVER_PORT $SSH_ARGS' $GITHUB_WORKSPACE/$FOLDER $SERVER_DEPLOY_STRING"

0 commit comments

Comments
 (0)