File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,13 @@ jobs:
5050
5151 - name : Build
5252 run : pnpm build
53+ env :
54+ NEXT_PUBLIC_BASE_PATH : /tinymlhack2024-docs
5355
5456 - name : Upload artifact
5557 uses : actions/upload-pages-artifact@v3
5658 with :
57- path : ./docs/tinymlhack2024-docs/dist # Adjust this path to your build output directory
59+ path : ./out
5860
5961 deploy :
6062 environment :
Original file line number Diff line number Diff line change 1- const withNextra = require ( 'nextra' ) ( {
1+ import nextra from 'nextra'
2+
3+ const withNextra = nextra ( {
24 theme : 'nextra-theme-docs' ,
3- themeConfig : './theme.config.tsx' ,
5+ themeConfig : './theme.config.jsx'
46} )
57
6- module . exports = withNextra ( )
8+ export default withNextra ( {
9+ output : 'export' ,
10+ images : {
11+ unoptimized : true ,
12+ } ,
13+ basePath : '/tinymlhack2024-docs'
14+ } )
You can’t perform that action at this time.
0 commit comments