File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1- # Simple workflow for deploying static content to GitHub Pages
2- name : Deploy static content to Pages
1+ name : Deploy doc to GitHub Pages
32
43on :
54 # Runs on pushes targeting the default branch
@@ -29,15 +28,15 @@ jobs:
2928 url : ${{ steps.deployment.outputs.page_url }}
3029 runs-on : ubuntu-latest
3130 steps :
32- - name : Checkout
33- uses : actions/checkout@v4
34- - name : Setup Pages
35- uses : actions/configure-pages@v5
31+ - uses : actions/checkout@v4
32+ - uses : actions/setup-node@v4
33+ - uses : actions/configure-pages@v5
34+ - run : npm --prefix docs ci
35+ - run : npm --prefix docs run build
3636 - name : Upload artifact
3737 uses : actions/upload-pages-artifact@v3
3838 with :
39- # Upload entire repository
40- path : " build"
39+ path : " docs/build"
4140 - name : Deploy to GitHub Pages
4241 id : deployment
4342 uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const config: Config = {
1212 url : "https://your-docusaurus-site.example.com" ,
1313 // Set the /<baseUrl>/ pathname under which your site is served
1414 // For GitHub pages deployment, it is often '/<projectName>/'
15- baseUrl : "/" ,
15+ baseUrl : "/typed-api-spec " ,
1616
1717 // GitHub pages deployment config.
1818 // If you aren't using GitHub pages, you don't need these.
You can’t perform that action at this time.
0 commit comments