I got an error while trying to build this blog in a temporary directory. This might be a webpack bug -- or not.
3 posts tagged with "docusaurus"
View All TagsDeploying Docusaurus site to GitHub the easy way
Before, we need to run this command to deploy a Docusaurus site to GitHub Pages:
$ GIT_USER=wpyoga DEPLOYMENT_BRANCH=gh-pages USE_SSH=true yarn deploy
If we don't use SSH, we will be prompted for a password. Right now I don't even know my own password (it's stored in my password manager), so this is not a good idea. And I already use SSH to work on GitHub repositories anyway. So this is not a good way to do things.
Making a new blog with Docusaurus v2
To make a new blog with the upcoming Docusaurus 2, we need understand how GitHub Pages works, and also pay attention to several caveats.