You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ni...@apache.org on 2021/12/27 07:03:23 UTC

[incubator-seatunnel-website] branch main updated: Update deploy website script

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

nielifeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel-website.git


The following commit(s) were added to refs/heads/main by this push:
     new f7a4f9c  Update deploy website script
     new ba25254  Merge pull request #7 from CalvinKirs/deploy
f7a4f9c is described below

commit f7a4f9cd122fb4e3597a621a02c1d89a8bf08f20
Author: CalvinKirs <ki...@apache.org>
AuthorDate: Mon Dec 27 14:59:11 2021 +0800

    Update deploy website script
---
 .asf.yaml                    | 28 +++++++++++++++++++---------
 .github/workflows/deploy.yml |  2 +-
 2 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 1545699..692fd2b 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -14,6 +14,14 @@
 # limitations under the License.
 #
 
+staging:
+  profile: ~
+  whoami: main
+  foo: trigger
+
+# asf-site branch will show up at https://seatunnel.apache.org
+publish:
+  whoami:  asf-site
 github:
   features:
     # Enable issue management
@@ -23,12 +31,14 @@ github:
   labels:
     - seatunnel
     - website
-
-# If this branch is asf-staging, it will be published to https://seatunnel.staged.apache.org/
-staging:
-  profile: ~
-  whoami:  asf-staging
-
-# asf-site branch will show up at https://seatunnel.apache.org
-publish:
-  whoami:  asf-site
\ No newline at end of file
+  enabled_merge_buttons:
+    squash: true
+    merge: false
+    rebase: false
+  protected_branches:
+    main:
+      required_status_checks:
+        strict: true
+      required_pull_request_reviews:
+        dismiss_stale_reviews: true
+        required_approving_review_count: 1
\ No newline at end of file
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 8521e0d..0019735 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -30,4 +30,4 @@ jobs:
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
           publish_dir: build
-          publish_branch: asf-staging
\ No newline at end of file
+          publish_branch: asf-site
\ No newline at end of file