โ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
-
/healthreturns{ "status": "ok" }
๐ Quiz
Answer all 1 questions correctly to complete this lesson.