Centralize deploy_path, environment and artifact name/path as workflow variables

Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
2026-07-24 16:24:20 +02:00
co-authored by Junie
parent 3e537162c0
commit f47aed55c7
5 changed files with 58 additions and 25 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: ${{ inputs.artifact_name }}
path: dist
path: ${{ inputs.artifact_name }}
# Uploadt de inhoud van dist/ via SCP (over SSH) naar de webroot van de
# test-omgeving (een Raspberry Pi achter een andere Raspberry Pi met
@@ -35,7 +35,7 @@ jobs:
port: ${{ secrets.PI_MAIN_PORT }}
username: ${{ secrets.PI_MAIN_USERNAME }}
password: ${{ secrets.PI_MAIN_PASSWORD }}
source: "dist/*"
source: "${{ inputs.artifact_name }}/*"
target: ${{ inputs.deploy_path }}
strip_components: 1
overwrite: true