Files
english/.opencode/skills/deploy/references/platforms/render.md
2026-04-12 01:06:31 +07:00

786 B

Render

CLI

No official CLI. Deploy via Git push or API.

# Git push to connected branch (auto-deploy)
git push origin main

# API trigger
curl -X POST "https://api.render.com/deploy/srv-XXXXX?key=YOUR_KEY"

Config: render.yaml

services:
  - type: web
    name: my-app
    runtime: node
    buildCommand: npm install && npm run build
    startCommand: npm start
    envVars:
      - key: NODE_ENV
        value: production

Detection

  • render.yaml in repo root

Free Tier

  • 750 free instance hours/mo (Starter)
  • Free PostgreSQL (90 days)
  • Spins down after 15min idle (30s cold start)

Rollback

Via dashboard: Events → select previous deploy → Manual Deploy

Best For

Full-stack apps, background workers, cron jobs, managed PostgreSQL