zeabur-update-service

📁 zeabur/zeabur-claude-plugin 📅 2 days ago
3
总安装量
1
周安装量
#60478
全站排名
安装命令
npx skills add https://github.com/zeabur/zeabur-claude-plugin --skill zeabur-update-service

Agent 安装分布

amp 1
opencode 1
kimi-cli 1
codex 1
github-copilot 1
gemini-cli 1

Skill 文档

Zeabur Update Service Without Redeploy

Workflow

# 1. Set project context
npx zeabur@latest context set project --id=<project-id> -i=false -y

# 2. Get service ID
npx zeabur@latest service list -i=false

# 3. Check current variables
npx zeabur@latest variable list --id <service-id> -i=false

# 4. Add/update variables
npx zeabur@latest variable create --id <service-id> \
  --key "KEY1=value1" \
  --key "KEY2=value2" \
  -i=false -y

# 5. Get env-id (from step 3 output or deployment list)
# Look for: "Only one environment... select <production>"

# 6. Restart service
npx zeabur@latest service restart --id <service-id> --env-id <env-id> -i=false -y

Caveats

Issue Solution
${VAR} references Set in Dashboard, not CLI (shell expands to empty)
variable update clears vars Use variable create instead
Need env-id Get from variable list output or Dashboard URL

When to Use

  • Fix environment variable typos
  • Add missing config
  • Change ports, URLs, credentials
  • No need to redeploy entire template