CI CD ‐ Frontend - nikitapoyarekar05/nexus-fe GitHub Wiki
Hosting Platform
Branch Monitored
main
Trigger
Automatic deployment on every git push
to the main
branch
Build Command
npm run build
Output directory
.next
Deployment Flow
- Developer pushes code to the main branch.
- Vercel detects the push and triggers a new build.
- The command npm run build is executed to compile the application.
- The .next directory is used as the output of the build.
- Vercel automatically hosts the updated version at the production URL.
Benefits:
- Zero-config deployment
- Rollbacks are available through Vercel dashboard
- Vercel dashboard shows real-time build and deployment status
Notes
Make sure environment variables are correctly set in the Vercel dashboard under Project Settings > Environment Variables.