zeabur

zeabur-update-service

Use when modifying service config without full redeploy. Use when updating env vars and restarting single service.

zeabur 32 9 Updated 4mo ago
GitHub

Install

npx skillscat add zeabur/zeabur-claude-plugin/zeabur-update-service

Install via the SkillsCat registry.

SKILL.md

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