From c1ce9364bc6650255cce23b5f61babb23a9545bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kukuczka?= Date: Sun, 30 Mar 2025 12:36:08 +0200 Subject: [PATCH] moar fix --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index e0c4e2f..4a27758 100644 --- a/action.yml +++ b/action.yml @@ -71,11 +71,11 @@ runs: echo "DEBUG: Creating remote directory $REMOTE_DIR" ssh -o StrictHostKeyChecking=no -i "$SSH_KEY_FILE" \ "${{ inputs.ssh_user }}@${{ inputs.ssh_host }}" \ - "mkdir -p '$REMOTE_DIR' && chmod -R 755 '$REMOTE_DIR'" + mkdir -p "$REMOTE_DIR" && chmod -R 755 "$REMOTE_DIR" echo "DEBUG: Copying contents from local '$LOCAL_DIR' to remote '$REMOTE_DIR'" scp -o StrictHostKeyChecking=no -i "$SSH_KEY_FILE" -r "$LOCAL_DIR/"* \ - "${{ inputs.ssh_user }}@${{ inputs.ssh_host }}:'$REMOTE_DIR/'" || echo "DEBUG: No files to copy in '$LOCAL_DIR'" + ${{ inputs.ssh_user }}@${{ inputs.ssh_host }}:"$REMOTE_DIR/" || echo "DEBUG: No files to copy in '$LOCAL_DIR'" CREATED_PATHS+="$REMOTE_DIR"$'\n' else @@ -88,4 +88,4 @@ runs: echo "created_paths<> $GITHUB_OUTPUT echo "$CREATED_PATHS" >> $GITHUB_OUTPUT - echo "EOF" >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT \ No newline at end of file