ci: preview-deploy download add run_id (#33680)

This commit is contained in:
ZhouZhen 2022-01-13 00:09:09 +08:00 committed by GitHub
parent 5c7d29d5a5
commit a8495bad24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ jobs:
uses: dawidd6/action-download-artifact@v2
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
run_id: ${{ github.event.workflow_run.id }}
name: pr
# Save PR id to output
@ -33,7 +34,7 @@ jobs:
uses: dawidd6/action-download-artifact@v2
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
workflow_conclusion: success
run_id: ${{ github.event.workflow_run.id }}
name: site
- name: upload surge service
@ -75,6 +76,7 @@ jobs:
uses: dawidd6/action-download-artifact@v2
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
run_id: ${{ github.event.workflow_run.id }}
name: pr
# Save PR id to output