CI/CD Workflow
This project uses GitHub Actions for continuous integration and deployment.
Workflow File
The workflow is defined in .github/workflows/ci-cd.yml.
Workflow Details
The workflow runs on:
- Push events to the
mainbranch - Pull request events to the
mainbranch
Steps
- Checkout code - Checks out the repository code
- Setup Node.js - Sets up Node.js environment (version 20)
- Install dependencies - Installs project dependencies using npm
- Build - Builds the Docusaurus site
- Deploy - Deploys the built site to GitHub Pages
Environment Variables
The workflow uses the following environment variables:
GITHUB_TOKEN- Automatically provided by GitHub ActionsNODE_VERSION- Set to20.x
Deployment
The site is automatically deployed to GitHub Pages when changes are pushed to the main branch.