Deploy your site
Choose a hosting guide and get the portfolio online.
Goal
Choose a hosting guide and get the portfolio online.
Before you start
- Code pushed to GitHub
- No secrets committed
- A hosting provider account
Deployment means putting your website on the internet so other people can open it with a link.
Choose one hosting path
For this workshop, choose one guide. Do not try to deploy to every provider during the live session.
Recommended for Next.js projects:
- Vercel.
Useful alternatives:
- Netlify.
- GitHub Pages, only when the project is static-compatible.
Vercel path
Vercel's Git deployment docs explain that it can create automatic deployments from GitHub, GitLab, Bitbucket, and Azure DevOps.
Basic flow:
- Push your project to GitHub.
- Go to Vercel.
- Create a new project.
- Import the Git repository.
- Check the project settings.
- Deploy.
Environment variables
If your project needs secrets, do not put them in the code. Add them in the hosting provider's environment variable settings.
For the beginner portfolio, try to avoid secrets entirely.
Deployment checklist
- The project runs locally.
- The code is on GitHub.
- No secrets are committed.
- The hosting provider is connected to the correct repository.
- The deployed URL opens in a private/incognito browser window.
What if deployment fails?
Read the error message slowly. Ask the AI agent:
Explain this deployment error. Do not guess. Tell me what file or setting I should check first.
Official references
Lesson checklist
Tick these as you verify them. Signed-in students sync to the workshop dashboard; everyone else keeps progress in this browser.
Local progress
Save this lesson on this device.
No account needed yet. This only stores the lesson slug in your browser, not commands, secrets, or project files.