From 6998ad10e3744fe2af2594a25399e021a7ac0fd5 Mon Sep 17 00:00:00 2001 From: Zenkie Bear <62818957+ZenkieBear@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:23:56 +0800 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 34b1879..035e7ef 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -50,6 +50,8 @@ jobs: cache: 'npm' - run: npm install - run: npm run build + # Avoid fresh page 404 result + - run: cp dist/index.html dist/404.html - name: 🚀 Deploying uses: actions/configure-pages@v3 - uses: actions/upload-pages-artifact@v2