From efcbf3fdbdf0f452b463b9c126fda00f018c5ee8 Mon Sep 17 00:00:00 2001 From: jojobyte <184880+jojobyte@users.noreply.github.com> Date: Tue, 3 Oct 2023 23:39:00 -0600 Subject: [PATCH] ci: :bug: add trailing slash to GITHUB_WORKSPACE --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 62dd95f..d20d3d6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -29,4 +29,4 @@ SSH_CMDS="$SSH_CMDS -i $SSH_IDENTITY -o StrictHostKeyChecking=no -o UserKnownHos # Do deployment #shellcheck disable=SC2153 -sh -c "rsync ${INPUT_RSYNC_OPTIONS} -e 'ssh $SSH_CMDS' ${GITHUB_WORKSPACE}${INPUT_RSYNC_SOURCE} ${SSH_USERNAME}@${SSH_HOSTNAME}:${INPUT_RSYNC_TARGET}" +sh -c "rsync ${INPUT_RSYNC_OPTIONS} -e 'ssh $SSH_CMDS' ${GITHUB_WORKSPACE}/${INPUT_RSYNC_SOURCE} ${SSH_USERNAME}@${SSH_HOSTNAME}:${INPUT_RSYNC_TARGET}"