Skip to main content

One post tagged with "gh-pages"

View All Tags

configured gh-pages!

Dan Arroyo

Dan Arroyo

Lead Developer

I have set up this blog in the SadSumo GitHub pages. It was pretty straight forward. There were only a couple of gotchas.

  • Put a file called CNAME with the custom domain you want to use in the static folder of the project. "Anything within the static directory will be copied to the root of the build directory for deployment." https://docusaurus.io/docs/deployment
  • I ended up putting all of the code in the master branch and main is blank. Then in the repository's settings in Pages I set the page to be built from the master branch.
  • The master branch only contains the build after running:
command to deploy in Windows
cmd /C 'set "GIT_USER=MY_GIT_USERNAME" && yarn deploy'