mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 19:19:26 +08:00
chore: fix ci download artifact logic (#45661)
如果上一个 Preview Build 因为连续提交,会导致这里下载失败。直接把 if 逻辑提升一级
This commit is contained in:
parent
e0a6244303
commit
f15bddf6cb
2
.github/workflows/preview-deploy.yml
vendored
2
.github/workflows/preview-deploy.yml
vendored
@ -74,6 +74,7 @@ jobs:
|
||||
|
||||
# Download site artifact
|
||||
- name: download site artifact
|
||||
if: ${{ fromJSON(needs.upstream-workflow-summary.outputs.build-success) }}
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.workflow_id }}
|
||||
@ -81,7 +82,6 @@ jobs:
|
||||
name: site
|
||||
|
||||
- name: upload surge service
|
||||
if: ${{ fromJSON(needs.upstream-workflow-summary.outputs.build-success) }}
|
||||
id: deploy
|
||||
continue-on-error: true
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user