Skip to content

Commit

Permalink
deploy hash router to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed May 19, 2024
1 parent db860a8 commit d877806
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-hash-router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
with:
node-version: '18'
cache: yarn

- name: Installation
run: yarn
- name: Build Hash Router
Expand All @@ -40,3 +39,9 @@ jobs:
with:
name: my-artifact
path: website/build
- name: Deploy to GitHub Pages
# if: ${{ github.event_name != 'pull_request' && github.ref_name == 'main')}}
run: yarn workspace website deploy --skip-build
env:
DOCUSAURUS_ROUTER: hash
BASE_URL: '/docusaurus/' # deployed under https://facebook.github.io/docusaurus/

0 comments on commit d877806

Please sign in to comment.