init
This commit is contained in:
39
.opencode/skills/deploy/references/platforms/render.md
Normal file
39
.opencode/skills/deploy/references/platforms/render.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# Render
|
||||
|
||||
## CLI
|
||||
No official CLI. Deploy via Git push or API.
|
||||
|
||||
```bash
|
||||
# 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
|
||||
```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
|
||||
Reference in New Issue
Block a user