This website is built using Docusaurus 2, a modern static website generator.
$ yarn
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
I use Github Actions to deploy the website to Github Pages. The workflow is defined in .github/workflows/deploy.yml
. The workflow is triggered on every push to the master
branch. The workflow builds the website and pushes the build files to the gh-pages
branch.
For more information, please refer to the Docusaurus documentation - Triggering deployment with GitHub Actions.