Has anyone hosted docusaurus on GitHub pages?
I’m running into some issues, could use some help.
Not sure how to point it to my build folder 🤔
Has anyone hosted docusaurus on GitHub pages?
I’m running into some issues, could use some help.
Not sure how to point it to my build folder 🤔
Do you mean point GitHub pages to the build folder? Or configure docusaurus.config.js to work with GitHub pages?
Is there a difference? I have a build folder with static files and I want to put them on a custom domain via GitHub pages
Happy to do it for you if you can't get it working, but basically all you need to do is push the static files to the root of the repo or a folder, and then go to the repo settings => Pages, and then under build and deployment select "deploy from branch" then select master (or main) and then the location (root of the repo or the folder you pushed the files to).
Then add your custom domain, and then create DNS A records that point to:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
Give it like half an hour after that and it should work
Ty will give this a try!