GitHub and DocSearch
· 2 min read
Initially I goofed around with getting the Docusaurus site into GH using two different repos, one for the site source and one for the build directory. After goofing with that for a little bit, I stumbled upon the command to deploy to a different branch within your repo:
npm run deploy
This automatically publishes your build to the branch gh-pages
which GH Pages is also easily tuned into. This was the way to go.