mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-18 10:59:10 +08:00
chore(project): use specified run id for preview depoly (#3500)
This commit is contained in:
parent
25f948fb25
commit
138008e3ab
10
.github/workflows/preview-deploy.yml
vendored
10
.github/workflows/preview-deploy.yml
vendored
@ -16,7 +16,8 @@ jobs:
|
||||
- name: Download pr number
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.workflow_id }}
|
||||
workflow: ${{ github.event.workflow.id }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
name: pr
|
||||
|
||||
- name: Output pr number
|
||||
@ -26,8 +27,8 @@ jobs:
|
||||
- name: Download artifact
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.workflow_id }}
|
||||
workflow_conclusion: success
|
||||
workflow: ${{ github.event.workflow.id }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
name: docs
|
||||
|
||||
- name: Deploy Site
|
||||
@ -65,7 +66,8 @@ jobs:
|
||||
- name: Download pr number
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.workflow_id }}
|
||||
workflow: ${{ github.event.workflow.id }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
name: pr
|
||||
|
||||
- name: Output pr number
|
||||
|
Loading…
Reference in New Issue
Block a user