[editor only] target it's a path

This commit is contained in:
fgnm
2024-07-06 21:00:52 +02:00
parent 295583eaac
commit b83bc065fe
+4 -4
View File
@@ -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') }}
target: ${{ secrets.DEPLOY_SSH_TARGET_PATH }}