refactor run-id handling

This commit is contained in:
fkwp
2024-04-23 16:46:26 +02:00
parent b32d066a76
commit af99d2a60b
4 changed files with 13 additions and 2 deletions

View File

@@ -14,6 +14,10 @@ on:
deployment_ref:
required: true
type: string
artifact_run_id:
required: false
type: string
default: ${{ github.run_id }}
secrets:
ELEMENT_BOT_TOKEN:
required: true
@@ -45,7 +49,7 @@ jobs:
uses: actions/download-artifact@v4
with:
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
run-id: ${{ inputs.artifact_run_id }}
name: build-output
path: webapp