You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2022/04/25 02:57:39 UTC

[dubbo-website] branch refactor/docs updated: stop building refactor/docs branch

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

liujun pushed a commit to branch refactor/docs
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/refactor/docs by this push:
     new ea9a5f1689 stop building refactor/docs branch
ea9a5f1689 is described below

commit ea9a5f16891839414d6162752a91965c7c7308db
Author: chickenlj <ke...@gmail.com>
AuthorDate: Mon Apr 25 10:57:29 2022 +0800

    stop building refactor/docs branch
---
 .github/workflows/build_and_deploy.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml
index 80f09a5b6c..ea465f11be 100644
--- a/.github/workflows/build_and_deploy.yml
+++ b/.github/workflows/build_and_deploy.yml
@@ -3,8 +3,11 @@ name: Website Deploy
 on:
   push:
     branches:
-      - refactor/docs
-
+      - master
+  pull_request:
+    types: [ opened, synchronize, reopened, closed ]
+    branches:
+      - master
 
 jobs:
   build_and_deploy_job:
@@ -34,7 +37,7 @@ jobs:
         run: cp .htaccess ./public
       - name: Deploy
         uses: peaceiris/actions-gh-pages@v3
-        if: github.ref == 'refs/heads/refactor/docs'
+        if: github.ref == 'refs/heads/master'
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
           publish_branch: asf-site