Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

deploy-on-render部署在渲染上

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

64,529

周安装

2,636

GitHub Stars

3

下载量

20,877
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deploy-on-render(部署在渲染上)
来源仓库:https://github.com/ojusave/deploy-on-render
安装命令:
openclaw skills install deploy-on-render
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install deploy-on-render

简介

在Render上部署和操作应用程序(蓝图+一键Dashboard深层链接,与Codex渲染部署相同的流程)。当用户想要部署、托管或发布应用程序时使用;创建或编辑 render.yaml;添加 web、static、workers、cron、Postgres 或 Key Value;获取要部署的蓝图深度链接;设置 RENDER_API_KEY 时通过 API 触发或验证部署;通过 mcporter 连接 Render MCP 以直接创建服务;或配置环境变量、运行状况检查、缩放、预览和项目。

SKILL.md

name
render
description
Deploy and operate apps on Render (Blueprint + one-click Dashboard deeplink, same flow as Codex render-deploy). Use when the user wants to deploy, host, or publish an app; create or edit render.yaml; add web, static, workers, cron, Postgres, or Key Value; get the Blueprint deeplink to deploy; trigger or verify deploys via API when RENDER_API_KEY is set; connect Render MCP via mcporter for direct service creation; or configure env vars, health checks, scaling, previews, and projects.
metadata

Render Skill

Deploy and manage applications on Render using Blueprints (render.yaml), the Dashboard, or the API. This skill mirrors the Codex render-deploy flow: analyze codebase → generate/validate Blueprint → commit & push → one-click Dashboard deeplink → optional API/mcporter verify or re-deploy.

When to Use This Skill

Activate when the user wants to:

  • Deploy, host, or publish an application on Render
  • Create or edit a render.yaml Blueprint (new or existing repo)
  • Add web, static site, private, worker, or cron services; Postgres; or Key Value
  • Configure env vars, health checks, scaling, disks, or regions
  • Set up preview environments or projects
  • Validate a Blueprint or get Dashboard/API links

Deployment Method Selection

  1. If RENDER_API_KEY is set → Prefer REST API or MCP (fastest; no user click). Use references/rest-api-deployment.md for request bodies, or mcporter if configured (see references/mcp-integration.md).
  2. If no API key → Use Blueprint + deeplink (user commits, pushes, then clicks the deeplink to deploy).

Check for API key:

[ -n "$RENDER_API_KEY" ] && echo "RENDER_API_KEY is set" || echo "RENDER_API_KEY is not set"

Happy Path (New Users)

Before deep analysis, use this short sequence to reduce friction:

  1. Ask whether they want to deploy from a Git repo (required for Blueprint and deeplink) or only get guidance. If no Git remote, they must create/push one first.
  2. Ask whether the app needs a database, workers, cron, or other services so you can choose the right Blueprint shape.

Then follow Deploy to Render below (Blueprint → push → deeplink → verify).

Prerequisites Check

  1. Git remote – Required for Blueprint deploy. Run git remote -v; if none, ask the user to create a repo on GitHub/GitLab/Bitbucket, add origin, and push.
  2. Render CLI (optional) – For local validation: render blueprints validate render.yaml. Install: brew install render or Render CLI.
  3. API key (optional) – For verifying deploys or triggering re-deploys: Dashboard → API Keys. Set RENDER_API_KEY in the environment.

Security Notes

  • Never commit secrets to render.yaml — always use sync: false for API keys, passwords, and tokens; the user fills them in the Dashboard.
  • Validate before suggesting deployment — run render blueprints validate render.yaml or use the Validate Blueprint API so invalid YAML is never pushed.
  • Validate user-provided values — when writing env vars or service names from user input into YAML, sanitize or quote as needed to avoid injection.

References

  • references/codebase-analysis.md (detect runtime, build/start commands, env vars)
  • references/blueprint-spec.md (root keys, service types, env vars, validation)
  • references/rest-api-deployment.md (direct API create service: ownerId, request bodies, type mapping)
  • references/mcp-integration.md (Render MCP tools, mcporter usage, supported runtimes/plans/regions)
  • references/post-deploy-checks.md (verify deploy status and health via API)
  • references/troubleshooting-basics.md (build/startup/runtime failures)
  • assets/ (example Blueprints: node-express.yaml, python-web.yaml, static-site.yaml, web-with-postgres.yaml)

Blueprint Basics

  • File: render.yaml at the root of the Git repository (required).
  • Root-level keys (official spec): services, databases, envVarGroups, projects, ungrouped, previews.generation, previews.expireAfterDays.
  • Spec: Blueprint YAML Reference. JSON Schema for IDE validation: https://render.com/schema/render.yaml.json (e.g. YAML extension by Red Hat in VS Code/Cursor).

Validation: render blueprints validate render.yaml (Render CLI v2.7.0+), or the Validate Blueprint API endpoint.

Service Types

typePurpose
webPublic HTTP app or static site (use runtime: static for static)
pservPrivate service (internal hostname only, no public URL)
workerBackground worker (runs continuously, e.g. job queues)
cronScheduled job (cron expression; runs and exits)
keyvalueRender Key Value instance (Redis/Valkey-compatible; defined in services)

Note: Private services use pserv, not private. Key Value is a service with type: keyvalue; do not use a separate root key for it in new Blueprints (some older blueprints use keyValueStores and fromKeyValueStore—prefer the official format).

Runtimes

Use runtime (preferred; env is deprecated): node, python, elixir, go, ruby, rust, docker, image, static. For static sites: type: web, runtime: static, and staticPublishPath (e.g. ./build or ./dist) required.

Minimal Web Service

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

Python example: runtime: python, buildCommand: pip install -r requirements.txt, startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT (or gunicorn). Set PYTHON_VERSION / NODE_VERSION in envVars when needed.

Static Site

- type: web
  name: my-blog
  runtime: static
  buildCommand: yarn build
  staticPublishPath: ./build

Optional: headers, routes (redirects/rewrites). See Static Sites.

Environment Variables

  • Literal: key + value (never hardcode secrets).
  • From Postgres: fromDatabase.name + fromDatabase.property (e.g. connectionString).
  • From Key Value or other service: fromService.type + fromService.name + fromService.property (e.g. connectionString, host, port, hostport) or fromService.envVarKey for another service’s env var.
  • Secret / user-set: sync: false (user is prompted in Dashboard on first create; add new secrets manually later). Cannot be used inside env var groups.
  • Generated: generateValue: true (base64 256-bit value).
  • Shared: fromGroup: <envVarGroups[].name> to attach an env var group.

Env groups cannot reference other services (no fromDatabase/fromService in groups) and cannot use sync: false. Put secrets and DB/KV references in service-level envVars, or reference a group and add service-specific vars alongside.

Databases (Render Postgres)

databases:
  - name: my-db
    plan: basic-256mb
    databaseName: my_app
    user: my_user
    region: oregon
    postgresMajorVersion: "18"

Plans (current): free, basic-256mb, basic-1gb, basic-4gb, pro-*, accelerated-*. Legacy: starter, standard, pro, pro plus (no new DBs on legacy). Optional: diskSizeGB, ipAllowList, readReplicas, highAvailability.enabled. Reference in services: fromDatabase.name, property: connectionString.

Key Value (Redis/Valkey)

Key Value instances are services with type: keyvalue (or deprecated redis). ipAllowList is required: use [] for internal-only, or - source: 0.0.0.0/0 to allow external.

services:
  - type: keyvalue
    name: my-cache
    ipAllowList:
      - source: 0.0.0.0/0
        description: everywhere
    plan: free
    maxmemoryPolicy: allkeys-lru

Reference in another service: fromService.type: keyvalue, fromService.name: my-cache, property: connectionString. Policies: allkeys-lru (caching), noeviction (job queues), etc. See Key Value.

Note: Some repos use root-level keyValueStores and fromKeyValueStore; the official spec uses services + fromService. Prefer the official form for new Blueprints.

Cron Jobs

- type: cron
  name: my-cron
  runtime: python
  schedule: "0 * * * *"
  buildCommand: "true"
  startCommand: python scripts/daily.py
  envVars: []

schedule is a cron expression (minute hour day month weekday). buildCommand is required (use "true" if no build). Free plan not available for cron/worker/pserv.

Env Var Groups

Share vars across services. No fromDatabase/fromService/sync: false inside groups—only literal values or generateValue: true.

envVarGroups:
  - name: app-env
    envVars:
      - key: CONCURRENCY
        value: "2"
      - key: APP_SECRET
        generateValue: true

services:
  - type: web
    name: api
    envVars:
      - fromGroup: app-env
      - key: DATABASE_URL
        fromDatabase:
          name: my-db
          property: connectionString

Health Check, Region, Pre-deploy

  • Web only: healthCheckPath: /health for zero-downtime deploys.
  • Region: region: oregon (default), ohio, virginia, frankfurt, singapore (set at create; cannot change later).
  • Pre-deploy: preDeployCommand runs after build, before start (e.g. migrations).

Scaling

  • Manual: numInstances: 2.
  • Autoscaling (Professional workspace): scaling.minInstances, scaling.maxInstances, scaling.targetCPUPercent or scaling.targetMemoryPercent. Not available with persistent disks.

Disks, Monorepos, Docker

  • Persistent disk: disk.name, disk.mountPath, disk.sizeGB (web, pserv, worker).
  • Monorepo: rootDir, buildFilter.paths / buildFilter.ignoredPaths, dockerfilePath / dockerContext.
  • Docker: runtime: docker (build from Dockerfile) or runtime: image (pull from registry). Use dockerCommand instead of startCommand when needed.

Preview Environments & Projects

  • Preview environments: Root-level previews.generation: off | manual | automatic, optional previews.expireAfterDays. Per-service previews.generation, previews.numInstances, previews.plan.
  • Projects/environments: Root-level projects with environments (each lists services, databases, envVarGroups). Use for staging/production. Optional ungrouped for resources not in any environment.

Common Deployment Patterns

Full stack (web + Postgres + Key Value)

Web service with fromDatabase for Postgres and fromService for Key Value. Add one databases entry and one type: keyvalue service; reference both from the web service envVars. See assets/web-with-postgres.yaml for Postgres; add a keyvalue service and fromService for Redis URL.

Microservices (API + worker + cron)

Multiple services in one Blueprint: type: web for the API, type: worker for a background processor, type: cron for scheduled jobs. Share envVarGroups or repeat env vars; use fromDatabase/fromService for shared DB/Redis. All use the same branch and buildCommand/startCommand as appropriate per runtime.

Preview environments for PRs

Set root-level previews.generation: automatic (or manual). Optionally previews.expireAfterDays: 7. Each PR gets a preview URL; per-service overrides with previews.generation, previews.numInstances, or previews.plan when needed.

Plans (Services)

plan: free | starter | standard | pro | pro plus (and for web/pserv/worker: pro max, pro ultra). Omit to keep existing or default to starter for new. Free not available for pserv, worker, cron.

Dashboard & API

  • Dashboard: https://dashboard.render.com — New → Blueprint, connect repo, select render.yaml.
  • Key Value: https://dashboard.render.com/new/redis

API Access

To use the Render API from the agent (verify deploys, trigger deploys, list services/logs):

  1. Get an API key: Dashboard → Account Settings → API Keys.
  2. Store as env var: Set RENDER_API_KEY in the environment (e.g. skills.entries.render.env or process env).
  3. Authentication: Use Bearer token: Authorization: Bearer $RENDER_API_KEY on all requests.
  4. API docs: https://api-docs.render.com — services, deploys, logs, validate Blueprint, etc.

Deploy to Render (same flow as Codex render-deploy skill)

Goal: get the app deployed by generating a Blueprint, then one-click via Dashboard deeplink; optionally trigger or verify via API when the user has RENDER_API_KEY.

Step 1: Analyze codebase and create render.yaml

  • Use references/codebase-analysis.md to determine runtime, build/start commands, env vars, and datastores.
  • Add or update render.yaml at repo root (see Blueprint sections above and references/blueprint-spec.md). Use sync: false for secrets. See assets/ for examples.
  • Validate before asking the user to push:

- CLI: render blueprints validate render.yaml (install: brew install render or Render CLI install). - Or API: POST to Validate Blueprint with the YAML body.

  • Fix any validation errors before proceeding.

Step 2: Commit and push (required)

Render reads the Blueprint from the Git remote. The file must be committed and pushed.

git add render.yaml
git commit -m "Add Render deployment configuration"
git push origin main

If there is no Git remote, stop and ask the user to create a repo on GitHub/GitLab/Bitbucket, add it as origin, and push. Without a pushed repo, the Dashboard deeplink will not work.

Step 3: Dashboard deeplink (one-click deploy)

Get the repo URL and build the Blueprint deeplink:

git remote get-url origin

If the URL is SSH, convert to HTTPS (Render needs HTTPS for the deeplink):

SSHHTTPS
git@github.com:user/repo.githttps://github.com/user/repo
git@gitlab.com:user/repo.githttps://gitlab.com/user/repo
git@bitbucket.org:user/repo.githttps://bitbucket.org/user/repo

Pattern: replace git@<host>: with https://<host>/, remove .git suffix.

Deeplink format:

https://dashboard.render.com/blueprint/new?repo=<REPO_HTTPS_URL>

Example: https://dashboard.render.com/blueprint/new?repo=https://github.com/username/my-app

Give the user this checklist:

  1. Confirm render.yaml is in the repo at the root (they just pushed it).
  2. Click the deeplink to open Render Dashboard.
  3. Complete Git provider OAuth if prompted.
  4. Name the Blueprint (or accept default).
  5. Fill in secret env vars (those with sync: false).
  6. Review services/databases, then click Apply to deploy.

Deployment starts automatically. User can monitor in the Dashboard.

Step 4: Verify deployment (optional, needs API key)

If the user has set RENDER_API_KEY (e.g. in skills.entries.render.env or process env), the agent can verify after the user has applied the Blueprint:

  • List services: GET https://api.render.com/v1/services — Header: Authorization: Bearer $RENDER_API_KEY. Find the service by name.
  • List deploys: GET https://api.render.com/v1/services/{serviceId}/deploys?limit=1 — Check for status: "live" to confirm success.
  • Logs (if needed): Render API or Dashboard → service → Logs.

Example (exec tool or curl):

curl -s -H "Authorization: Bearer $RENDER_API_KEY" "https://api.render.com/v1/services" | head -100
curl -s -H "Authorization: Bearer $RENDER_API_KEY" "https://api.render.com/v1/services/{serviceId}/deploys?limit=1"

For a short checklist and common fixes, use references/post-deploy-checks.md and references/troubleshooting-basics.md.

Triggering deploys (re-deploy without push)

  • After repo is connected: Pushes to the linked branch trigger automatic deploys when auto-deploy is on.
  • Trigger via API: With RENDER_API_KEY, trigger a new deploy:

- POST https://api.render.com/v1/services/{serviceId}/deploys - Header: Authorization: Bearer $RENDER_API_KEY - Optional body: { "clearCache": "do_not_clear" } or "clear"

  • Deploy hook (no API key): Dashboard → service → Settings → Deploy Hook. User can set that URL as an env var (e.g. RENDER_DEPLOY_HOOK_URL); then the agent can run curl -X POST "$RENDER_DEPLOY_HOOK_URL" to trigger a deploy.

So: OpenClaw can deploy by (1) creating render.yaml, (2) having the user push and click the Blueprint deeplink (one-click), and optionally (3) triggering or verifying deploys via API or deploy hook when credentials are available.

Render from OpenClaw (no native MCP)

OpenClaw does not load MCP servers from config. Use one of:

Option A: REST API (recommended when API key is set)

Use RENDER_API_KEY and the Render REST API (curl/exec): create services, list services, trigger deploys, list deploys, list logs. Request bodies and endpoints: references/rest-api-deployment.md.

Option B: MCP via mcporter (if installed)

If the user has mcporter and Render configured (URL https://mcp.render.com/mcp, Bearer $RENDER_API_KEY), the agent can call Render MCP tools directly. Tool list and example commands: references/mcp-integration.md.

Example:

mcporter call render.list_services
mcporter call render.create_web_service name=my-api runtime=node buildCommand="npm ci" startCommand="npm start" repo=https://github.com/user/repo branch=main plan=free

Workspace must be set first (e.g. user: “Set my Render workspace to MyTeam”). Use mcporter list render --schema to see current tools and parameters.


Checklist for New Deploys

  1. Add or update render.yaml with services (and optionally databases, envVarGroups, projects). Use runtime and official Key Value form (type: keyvalue in services, fromService for references).
  2. Use sync: false for secrets in service envVars only; tell user to set them in Dashboard. Never put secrets in env groups.
  3. For Key Value, set ipAllowList (required).
  4. Validate: render blueprints validate render.yaml or API.
  5. User must commit and push, then use the Blueprint deeplink (https://dashboard.render.com/blueprint/new?repo=<HTTPS_REPO_URL>) to deploy. Optionally verify or re-deploy via API if RENDER_API_KEY is set.

Rules

  • Prefer Blueprint for full app definition; suggest Dashboard/API only when Blueprint cannot express something.
  • Never commit real API keys or secrets; use sync: false and document which env vars the user must set.
  • Use runtime (not deprecated env). For Python/Node set PYTHON_VERSION/NODE_VERSION in envVars when required.
  • When referencing Key Value or other services, use fromService with correct type (e.g. keyvalue, pserv).

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

91.67%
按下载量换算19,138

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills