Deploying the application is straightforward and uses a Docusaurus command, which offers a convenient way to build the website and push to the gh-pages
branch.
Currently in this ee-docs
application, deployments could be improved with:
Ensure you are authenticated with GitHub via command-line
- Merge all the latest completed changes from the
develop
branch tomain
- Run the command
npm run deploy
You can use the following commands to switch between SSH for GitHub authentication:
Using SSH:
USE_SSH=true npm run deploy
Not using SSH:
GIT_USER=<Your GitHub username> npm run deploy