Skip to content

Commit

Permalink
handle custom base
Browse files Browse the repository at this point in the history
  • Loading branch information
davydkov committed Oct 26, 2023
1 parent a6ebe35 commit 0d08490
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ jobs:
with:
node-version: "20"
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
run: npm run build -- --base "${{ steps.pages.outputs.base_path }}"
- name: Custom 404 page
run: cp ./dist/index.html ./dist/404.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
Expand Down

0 comments on commit 0d08490

Please sign in to comment.