Skip to content

Commit d42beb1

Browse files
ci(404): add copy 404.html into root folder for gh-pages
1 parent d97ac99 commit d42beb1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
--minify \
7070
--baseURL "${{ steps.pages.outputs.base_url }}/" \
7171
--cacheDir "${{ runner.temp }}/hugo_cache"
72+
- name: Copy 404.html Page for GitHub Pages
73+
run: |
74+
cp public/en/404.html public/404.html
7275
- name: Cache Save
7376
id: cache-save
7477
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)