You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2022/11/19 01:10:19 UTC

[dubbo-website] branch refactor/next updated (ebb2c6787bb -> 2a070851cab)

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

albumenj pushed a change to branch refactor/next
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


    from ebb2c6787bb Refactor to next (#1605)
     new c325fb32e27 Add next deploy workflow
     new 2a070851cab Switch deploy branch

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../workflows/{build_and_deploy.yml => build_and_deploy_next.yml} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 copy .github/workflows/{build_and_deploy.yml => build_and_deploy_next.yml} (88%)


[dubbo-website] 02/02: Switch deploy branch

Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2a070851cab57dbce8677af680569bf3d304fbae
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Sat Nov 19 09:10:05 2022 +0800

    Switch deploy branch
---
 .github/workflows/build_and_deploy_next.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_and_deploy_next.yml b/.github/workflows/build_and_deploy_next.yml
index d5b3d40ade8..1d2c752db71 100644
--- a/.github/workflows/build_and_deploy_next.yml
+++ b/.github/workflows/build_and_deploy_next.yml
@@ -36,6 +36,6 @@ jobs:
         if: github.ref == 'refs/heads/refactor/next'
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
-          publish_branch: refactor-asf-site
+          publish_branch: next-asf-site
           publish_dir: ./public
           keep_files: true


[dubbo-website] 01/02: Add next deploy workflow

Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit c325fb32e27317b4cdbc707b99453c8385885072
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Sat Nov 19 09:08:09 2022 +0800

    Add next deploy workflow
---
 .github/workflows/build_and_deploy_next.yml | 41 +++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/.github/workflows/build_and_deploy_next.yml b/.github/workflows/build_and_deploy_next.yml
new file mode 100644
index 00000000000..d5b3d40ade8
--- /dev/null
+++ b/.github/workflows/build_and_deploy_next.yml
@@ -0,0 +1,41 @@
+name: Next Website Deploy
+
+on:
+  push:
+    branches:
+      - refactor/next
+
+jobs:
+  build_and_deploy_job:
+    if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
+    runs-on: ubuntu-latest
+    name: Build and Deploy Job
+    steps:
+      - uses: actions/checkout@v2
+        with:
+          submodules: recursive
+      - name: Setup Node
+        uses: actions/setup-node@v1
+        with:
+          node-version: '12.x'
+      - name: Setup Docsy
+        run: git submodule update --init --recursive && sudo npm install -D --save autoprefixer && sudo npm install -D --save postcss-cli
+      - name: Setup Hugo
+        uses: peaceiris/actions-hugo@v2
+        with:
+          hugo-version: 'latest'
+          extended: true
+      - name: Build
+        env:
+          HUGO_ENV: production
+        run: hugo --minify
+      - name: Copy other files
+        run: cp .htaccess ./public
+      - name: Deploy
+        uses: peaceiris/actions-gh-pages@v3
+        if: github.ref == 'refs/heads/refactor/next'
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}
+          publish_branch: refactor-asf-site
+          publish_dir: ./public
+          keep_files: true