mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
chore: fix surge preview deploy not throw error (#50356)
Signed-off-by: afc163 <afc163@gmail.com>
This commit is contained in:
parent
dab9ab69d0
commit
dd343218a2
7
.github/workflows/preview-deploy.yml
vendored
7
.github/workflows/preview-deploy.yml
vendored
@ -117,3 +117,10 @@ jobs:
|
||||
<!-- AUTO_PREVIEW_HOOK -->
|
||||
body-include: '<!-- AUTO_PREVIEW_HOOK -->'
|
||||
number: ${{ steps.pr.outputs.id }}
|
||||
|
||||
- name: Check surge deploy result and exit if failed
|
||||
run: |
|
||||
if [ "${{ steps.deploy.outcome }}" != "success" ]; then
|
||||
echo "Surge Deploy failed: ${{ steps.deploy.conclusion }}"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user