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
The following commit(s) were added to refs/heads/refactor/next-2 by this push:
new 842aee327e update workflow
842aee327e is described below
commit 842aee327e9fd607210aecae68eb921354066319
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'