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

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

commit 7fc9f55554c727f19cd68b247d233a9b46df35ff
Author: chickenlj <[email protected]>
AuthorDate: Wed Feb 22 10:58:15 2023 +0800

    update workflow
---
 .github/workflows/build_and_deploy.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build_and_deploy.yml 
b/.github/workflows/build_and_deploy.yml
index 6e86826fd1..a157b68397 100644
--- a/.github/workflows/build_and_deploy.yml
+++ b/.github/workflows/build_and_deploy.yml
@@ -35,7 +35,7 @@ jobs:
           HUGO_ENV: production
         run: hugo mod clean && hugo --minify
       - name: Copy other files
-        run: cp .htaccess ./public
+        run: cp .htaccess ./public & cp 404.html ./public
       - name: Deploy
         uses: peaceiris/actions-gh-pages@v3
         if: github.ref == 'refs/heads/master'
@@ -74,7 +74,7 @@ jobs:
           HUGO_ENV: production
         run: hugo mod clean && hugo --minify --config cn_config.toml
       - name: Copy other files
-        run: cp .htaccess ./public
+        run: cp .htaccess ./public & cp 404.html ./public
       - name: Deploy
         uses: peaceiris/actions-gh-pages@v3
         if: github.ref == 'refs/heads/master'

Reply via email to