This is an automated email from the ASF dual-hosted git repository.

wenjun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 0016b96b85 Fix docs style is incorrect by CI pass (#15167)
0016b96b85 is described below

commit 0016b96b85df628a742aac5497f78a243826b64d
Author: Jay Chung <[email protected]>
AuthorDate: Sat Nov 25 22:32:38 2023 +0800

    Fix docs style is incorrect by CI pass (#15167)
---
 .github/workflows/docs.yml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 1b287c6a20..a4195927e9 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -70,9 +70,13 @@ jobs:
       - style
       - img-check
       - dead-link
-    if: success()
+    if: always()
     steps:
-      - name: success
+      - name: Status
         run: |
-          echo "Docs check success"
-          exit 0
+          if [[ ${{ contains(needs.*.result, 'failure') }} == 'true' || ${{ 
contains(needs.*.result, 'cancelled') }} == 'true' ]]; then
+            echo "Build Failed!"
+            exit 1
+          else
+            echo "Build Success!"
+          fi

Reply via email to