File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1919 run : yarn install --frozen-lockfile
2020
2121 - name : Build website
22- run : yarn build
22+ run : BASE_URL='/format/' yarn build
2323 working-directory : ./packages/web
2424
2525 - name : Deploy to GitHub Pages
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import type {Config} from '@docusaurus/types';
44import type * as Preset from '@docusaurus/preset-classic' ;
55import type { Configuration } from "webpack" ;
66
7+ const baseUrl = process . env [ "BASE_URL" ] || "/" ;
8+
79const config : Config = {
810 title : 'ethdebug format' ,
911 tagline : 'Debugging data format for smart contracts' ,
@@ -14,7 +16,7 @@ const config: Config = {
1416
1517 // Set the /<baseUrl>/ pathname under which your site is served
1618 // For GitHub pages deployment, it is often '/<projectName>/'
17- baseUrl : '/format/' ,
19+ baseUrl,
1820
1921 // GitHub pages deployment config.
2022 // If you aren't using GitHub pages, you don't need these.
You can’t perform that action at this time.
0 commit comments