diff --git a/.github/workflows/deploy-to-pages.yml b/.github/workflows/deploy-to-pages.yml index 5acb39db..6ddad521 100644 --- a/.github/workflows/deploy-to-pages.yml +++ b/.github/workflows/deploy-to-pages.yml @@ -24,6 +24,13 @@ jobs: working-directory: ./apps/docs-website # Change this to your Docusaurus directory run: yarn install + # Make versioning stuff here + + - name: Update baseURL + working-directory: ./apps/docs-website + run: | + sed -i 's/baseUrl: "\/"/baseUrl: "\/loonar\//g' docusaurus.config.ts + # Build the Docusaurus site - name: Build Docusaurus working-directory: ./apps/docs-website # Change this to your Docusaurus directory diff --git a/apps/docs-website/docusaurus.config.ts b/apps/docs-website/docusaurus.config.ts index 27f56ddf..16dfa57d 100644 --- a/apps/docs-website/docusaurus.config.ts +++ b/apps/docs-website/docusaurus.config.ts @@ -11,7 +11,7 @@ const config: Config = { url: "https://your-docusaurus-site.example.com", // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' - baseUrl: "/loonar/", + baseUrl: "/", // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these.