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
  1. Open the previous project and record its result.
  2. Type the example and complete: Record commit, build result, deployment URL, and four HTTP checks.
  3. Change one input, predict, then verify.
  4. 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

SymptomWhat to check
Unexpected resultA local build is not a release; verify the public URL and version.
Nothing changesSave, 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

Your privacy choices

Necessary storage is always on. Optional analytics and support services load only after consent.