Loading...
Loading...
Deploys and manages services on GuaraCloud — creating projects and services, triggering deployments, rollbacks, scaling, custom domains, and environment variables. Use when the user wants to deploy an app, manage services, configure domains, set env vars, or scale.
npx skill4agent add guaracloud/agent-skills deploy| Method | When to use | What happens |
|---|---|---|
| Project has a Dockerfile | Builds using the Dockerfile in the repo |
| No Dockerfile, or prefer auto-detection | Heroku-style buildpacks detect language and build automatically |
--root-dir--build-cmd--start-cmdguara projects create --name my-app# With Dockerfile
guara services create --name api --build-method dockerfile --repo https://github.com/user/repo --port 3000
# With buildpack
guara services create --name api --build-method buildpack --repo https://github.com/user/repo --port 8080
# Monorepo (buildpack)
guara services create --name web --build-method buildpack \
--repo https://github.com/user/monorepo \
--root-dir ./apps/web \
--build-cmd "pnpm --filter web build" \
--start-cmd "pnpm --filter web start" \
--port 3000
# Interactive (no flags)
guara services createguara deploy # Deploy default branch
guara deploy --branch develop # Deploy specific branch
guara deploy --commit abc123f # Deploy specific commitguara rollback # Interactive: pick from healthy deployments
guara rollback --deployment <id> # Direct rollback to specific deploymenthealthyguara services stop # Scale to zero replicas
guara services start # Restore to configured replicas
guara services restart # Rolling restart (zero downtime)
guara services delete # Permanent deletionguara scale --autoscaling on # Enable autoscaling
guara scale --autoscaling off # Disable, use fixed replicas# Add domain
guara domains add --domain api.myapp.com
# The CLI returns a CNAME target. User must add this DNS record:
# api.myapp.com CNAME <cname-target>
# Verify status
guara domains list
# Remove
guara domains remove --domain api.myapp.compendingactiveguara env set DATABASE_URL=postgres://...
guara env set KEY1=val1 KEY2=val2
guara env list
guara env unset KEYguara env set NPM_TOKEN=xxx --buildguara services infoguara deployments list