Day 2 / 06 / lesson
Deploy and Understand CI/CD
Use GitHub and Vercel to publish the app through a repeatable flow.
Deployment guide
01Save the project in GitHubGitHub keeps the code history and gives Vercel a project to deploy.
Steps
- Check what files changed.
- Commit the working version.
- Push the project to GitHub.
Commands or prompts
git status
git add .
git commit -m "request tracker build"
git push02Deploy with VercelVercel builds the app and gives it a live URL.
Steps
- Import the GitHub repository.
- Add the Supabase environment variables.
- Run the deployment.
- Open the live URL and test the app.
03Understand CI/CDIn this workshop, CI/CD means GitHub changes automatically update Vercel.
Steps
- Change code locally.
- Push the update to GitHub.
- Vercel detects the change.
- The live app gets rebuilt.