Skip to content

Commit

Permalink
fix: actions 404
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 13, 2024
1 parent 43dfe82 commit 006c57b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@ jobs:
cache: 'pnpm'
- run: pnpm install
- run: pnpm build
- name: Copy and Rename index.html to dist
run: cp dist/index.html dist/404.html

- name: Deploy to gh-pages
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}


0 comments on commit 006c57b

Please sign in to comment.