Skip to content

Commit

Permalink
Added change for updating baseUrl before deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
bbollen23 committed Sep 13, 2024
1 parent 0814314 commit b0ef9a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/deploy-to-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apps/docs-website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const config: Config = {
url: "https://your-docusaurus-site.example.com",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/loonar/",
baseUrl: "/",

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down

0 comments on commit b0ef9a4

Please sign in to comment.