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

zhongjiajie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 846f169390 fix: Deploy error and avoid regression (#893)
846f169390 is described below

commit 846f169390b72b69d530fc518eae6b477dc1c56a
Author: Jay Chung <[email protected]>
AuthorDate: Mon Apr 3 15:55:24 2023 +0800

    fix: Deploy error and avoid regression (#893)
    
    and error json config and add ci avoid
    regression
---
 .github/workflows/website.yml  |  4 ++++
 config/blog/en-us/release.json |  1 -
 config/blog/en-us/user.json    | 33 +++++++++++++++++----------------
 3 files changed, 21 insertions(+), 17 deletions(-)

diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index aaac4444d8..edde5fa9d0 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -1,6 +1,9 @@
 name: Build and Deploy
 
 on:
+  pull_request:
+    branches:
+      - master
   push:
     branches:
       - master
@@ -45,6 +48,7 @@ jobs:
           rsync -av --progress --exclude .doctrees docs/build/html/versions/* 
${GITHUB_WORKSPACE}/build/python
 
       - name: Deploy
+        if: ${{ github.event_name == 'push' || github.event_name == 'schedule' 
}}
         uses: peaceiris/actions-gh-pages@v3
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/config/blog/en-us/release.json b/config/blog/en-us/release.json
index 4f5f1b9c73..d24234aa3e 100644
--- a/config/blog/en-us/release.json
+++ b/config/blog/en-us/release.json
@@ -5,7 +5,6 @@
     "dateStr": "2023-3-27",
     "desc": "PyDolphinScheduler officially releases version 4.0.2........ "
   },
-{
   "Apache_dolphinScheduler_3.1.2": {
     "title": "Apache DolphinScheduler releases version 3.1.2 with Python API 
optimizations",
     "author": "Leonard Nie",
diff --git a/config/blog/en-us/user.json b/config/blog/en-us/user.json
index eae0629fe1..acc7babd3c 100644
--- a/config/blog/en-us/user.json
+++ b/config/blog/en-us/user.json
@@ -1,19 +1,20 @@
-{ 
"DolphinScheduler_Cisco_Webex_k8s_Integration_Practice_Boosting_Big_Data_Processing_Efficiency":
 {
-  "title": "DolphinScheduler✖️Cisco Webex: k8s Integration Practice, Boosting 
Big Data Processing Efficiency!",
-  "author": "Leonard Nie",
-  "dateStr": "2022-3-29",
-  "desc": "Cisco Webex is a software company that develops and sells online 
meeting,... ",
-  "img": "/img/2023-03-31/assets01/01.png",
-  "logo": ""
-},
-{ 
"Application_transformation_of_the_FinTech_data_center_based_on_DolphinScheduler":
 {
-  "title": "Application transformation of the FinTech data center based on 
DolphinScheduler",
-  "author": "Leonard Nie",
-  "dateStr": "2022-12-6",
-  "desc": "On Apache DolphinScheduler Meetup last week, ... ",
-  "img": "/img/media/16720400637574/16720400704016.jpg",
-  "logo": ""
-},
+{
+  
"DolphinScheduler_Cisco_Webex_k8s_Integration_Practice_Boosting_Big_Data_Processing_Efficiency":
 {
+    "title": "DolphinScheduler✖️Cisco Webex: k8s Integration Practice, 
Boosting Big Data Processing Efficiency!",
+    "author": "Leonard Nie",
+    "dateStr": "2022-3-29",
+    "desc": "Cisco Webex is a software company that develops and sells online 
meeting,... ",
+    "img": "/img/2023-03-31/assets01/01.png",
+    "logo": ""
+  },
+  
"Application_transformation_of_the_FinTech_data_center_based_on_DolphinScheduler":
 {
+    "title": "Application transformation of the FinTech data center based on 
DolphinScheduler",
+    "author": "Leonard Nie",
+    "dateStr": "2022-12-6",
+    "desc": "On Apache DolphinScheduler Meetup last week, ... ",
+    "img": "/img/media/16720400637574/16720400704016.jpg",
+    "logo": ""
+  },
   
"How_did_Yili_explore_a_path_for_digital_transformation_based_on_DolphinScheduler":
 {
     "title": "How did Yili explore a “path” for digital transformation based 
on DolphinScheduler?",
     "author": "Debra Chen",

Reply via email to