Loading...
Loading...
Use when publishing or updating a Zeabur template to the marketplace. Use when user says "publish template", "update template online", "push template to Zeabur", or "create template on Zeabur". Do NOT use for deploying templates (use zeabur-template-deploy instead). Do NOT use for editing template YAML (use zeabur-template instead).
npx skill4agent add zeabur/agent-skills zeabur-template-publishAlways useto invoke Zeabur CLI. Never usenpx zeabur@latestdirectly or any other installation method. Ifzeaburis not available, install Node.js first.npx
npx zeabur@latest template create -f <template-file>.yamlVTZ4FXnpx zeabur@latest template update -c <TEMPLATE_CODE> -f <template-file>.yamlhttps://zeabur.com/templates/<TEMPLATE_CODE>npx zeabur@latest template delete -c <TEMPLATE_CODE>https://zeabur.com/templates/<TEMPLATE_CODE>npx zeabur@latest template get -c <TEMPLATE_CODE> --rawtemplate create| Flag | Description |
|---|---|
| Template YAML file to publish |
template update| Flag | Description |
|---|---|
| Template code to update |
| Template YAML file with changes |
template delete| Flag | Description |
|---|---|
| Template code to delete |
# First time: create and note the returned code (use the `zeabur-template` skill to create the YAML first)
npx zeabur@latest template create -f zeabur-template-myapp.yaml
# → Template created: VTZ4FX
# Later: update with changes
npx zeabur@latest template update -c VTZ4FX -f zeabur-template-myapp.yaml
# Verify
npx zeabur@latest template get -c VTZ4FX --raw