Project 1 โ€บ 14 Trigger deploy & verify liveGitHub โ†—
๐Ÿค– AI Prompt โ€” stuck? paste this

โ€œAfter pushing a change, how do I trigger a Render deploy and verify the live URL is serving the new version? What should I check in the logs?โ€

14 โ€” [Optional] Trigger deploy and verify app is live

Category: Hosting & Deploy ยท Priority: Low ยท Optional

Check Render's deploy logs. Hit the public URL. Confirm the healthcheck endpoint returns 200.

โš ๏ธ OPTIONAL โ€” Only needed if deploying to Render.

๐ŸŽฏ What is this task?

After setting env vars, trigger a deploy and confirm your app is live and working on the public URL Render gave you.

๐Ÿ“‹ Step-by-step

Step 1 โ€” Trigger a manual deploy (if not already deploying)

In your Render service dashboard, click "Manual Deploy" โ†’ "Deploy latest commit".

Step 2 โ€” Watch the deploy logs

Click on the deploy to expand its logs. You should see:

  • Building Docker image...
  • Starting service...
  • Server running on port 3000

Step 3 โ€” Test your live URL

Render gives you a URL like https://my-docker-app-xxxx.onrender.com. Open it in your browser:

  • https://your-app.onrender.com/ โ†’ should return { "message": "Hello from Docker!" }
  • https://your-app.onrender.com/health โ†’ should return { "status": "ok" }

๐Ÿ’ก Free-tier Render apps "spin down" after 15 minutes of inactivity. The first request after sleeping takes ~30 seconds to respond. This is normal on the free tier.

โœ… Done when

  • Deploy completes with no errors
  • Public URL responds with correct JSON
  • /health returns { "status": "ok" }

๐Ÿ“ Quiz

Answer all 1 questions correctly to complete this lesson.

1. After deploying, a good way to confirm success is to...
โ† PreviousPass the quiz to completeNext โ†’