Skip to content

Commit

Permalink
Merge pull request #4 from Tongsuo-Project/feat/preview
Browse files Browse the repository at this point in the history
feat: pr preview
  • Loading branch information
InfoHunter authored Apr 25, 2024
2 parents 3b66485 + 7efd693 commit 2125aa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ $ GIT_USER=<Your GitHub username> yarn deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

5 changes: 3 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ const config: Config = {
favicon: 'img/logo-white.png',

// Set the production url of your site here
url: 'https://Tongsuo-Project.github.io/',
url: process.env.URL || 'https://Tongsuo-Project.github.io/',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/docs',
// baseUrl: '/docs',
baseUrl: process.env.BASEURL || '/docs',

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

0 comments on commit 2125aa7

Please sign in to comment.