Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
miladsoft committed Sep 13, 2024
1 parent 69d648c commit 988ff05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
npm install
npm run build
- name: Redirect 404 to Index for SPA
run: cp dist/index.html dist/404.html
run: cp dist/browser/index.html dist/browser/404.html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
publish_dir: ./dist/browser
cname: hub.angor.io

0 comments on commit 988ff05

Please sign in to comment.