From b83bc065fed1480b84de241be6492cc07333ead7 Mon Sep 17 00:00:00 2001 From: fgnm Date: Sat, 6 Jul 2024 21:00:52 +0200 Subject: [PATCH] [editor only] target it's a path --- .github/workflows/snapshot.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 39c0012a..bc3464b2 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -51,7 +51,7 @@ jobs: password: ${{ secrets.DEPLOY_SSH_PASSWORD }} port: ${{ secrets.DEPLOY_SSH_PORT }} source: "Linux.HyperLap2D-SNAPSHOT.deb" - target: ${{ format('{0}/{1}', secrets.DEPLOY_SSH_TARGET_PATH, 'Linux.HyperLap2D-SNAPSHOT.deb') }} + target: ${{ secrets.DEPLOY_SSH_TARGET_PATH }} - name: Generate build info env: WORKFLOW_RUN: ${{ github.run_number }} @@ -65,7 +65,7 @@ jobs: password: ${{ secrets.DEPLOY_SSH_PASSWORD }} port: ${{ secrets.DEPLOY_SSH_PORT }} source: "snapshot.json" - target: ${{ format('{0}/{1}', secrets.DEPLOY_SSH_TARGET_PATH, 'snapshot.json') }} + target: ${{ secrets.DEPLOY_SSH_TARGET_PATH }} - name: Publish SNAPSHOT artifacts if: "!contains(github.event.head_commit.message, 'editor only')" env: @@ -114,7 +114,7 @@ jobs: password: ${{ secrets.DEPLOY_SSH_PASSWORD }} port: ${{ secrets.DEPLOY_SSH_PORT }} source: "Windows.HyperLap2D-SNAPSHOT.exe" - target: ${{ format('{0}/{1}', secrets.DEPLOY_SSH_TARGET_PATH, 'Windows.HyperLap2D-SNAPSHOT.exe') }} + target: ${{ secrets.DEPLOY_SSH_TARGET_PATH }} macOS: if: "!contains(github.event.head_commit.message, 'cd skip')" @@ -159,4 +159,4 @@ jobs: password: ${{ secrets.DEPLOY_SSH_PASSWORD }} port: ${{ secrets.DEPLOY_SSH_PORT }} source: "macOS.HyperLap2D-SNAPSHOT.dmg" - target: ${{ format('{0}/{1}', secrets.DEPLOY_SSH_TARGET_PATH, 'macOS.HyperLap2D-SNAPSHOT.dmg') }} \ No newline at end of file + target: ${{ secrets.DEPLOY_SSH_TARGET_PATH }} \ No newline at end of file