Deploy and verify a static site
Deploy from an exact commit and verify the public URL, assets, and rollback point.
- Difficulty
- beginner
- Time
- 55 minutes
- Last verified
- 9/21/2026
What you will build
Deploy from an exact commit and verify the public URL, assets, and rollback point.
Understand the idea first
Deploy from an exact commit and verify the public URL, assets, and rollback point.
Build it step by step
git rev-parse HEAD
# run the provider build/deploy command
# verify /, /pages/about.html, /notes/week-1.html and a missing URL- Open the previous project and record its result.
- Type the example and complete: Record commit, build result, deployment URL, and four HTTP checks.
- Change one input, predict, then verify.
- Create and repair: A local build is not a release; verify the public URL and version.
Read the important lines
- Deploy from an exact commit and verify the public URL, assets, and rollback point.
- Read input, processing, and output separately.
- Verify another input and an edge case.
Common mistakes and what to check
| Symptom | What to check |
|---|---|
| Unexpected result | A local build is not a release; verify the public URL and version. |
| Nothing changes | Save, verify paths, and read the first relevant Console error. |
Practice without copying
Record commit, build result, deployment URL, and four HTTP checks.
Check the answer after you try
Rebuild and explain the decisions. Check: A local build is not a release; verify the public URL and version.
Completion check
- I produced the required visible result
- I can explain the input, processing, and output
- I tested normal, edge, and failure cases