Skip to content

Commit

Permalink
Configure GitHub Actions and Docusaurus for custom domain deployment
Browse files Browse the repository at this point in the history
- Updated docusaurus.config.ts to set baseUrl to '/swdr5-docs/' for proper routing.
- Modified deploy.yml to publish build output to 'swdr5-docs' directory in gh-pages branch.
  • Loading branch information
xoorbes committed Sep 1, 2024
1 parent 2750faa commit 0b41ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_branch: gh-pages
destination_dir: swdr5-docs
2 changes: 1 addition & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const config: Config = {
url: 'https://docs.ttsk.ngo',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/swdr5-docs',
baseUrl: '/swdr5-docs/',

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

0 comments on commit 0b41ed0

Please sign in to comment.