Skip to content

Clarify CI/CD deploy environment selection in zuplo-cli skill#9

Merged
ntotten merged 1 commit into
mainfrom
nate/epic-wright-37a7bb
Jul 5, 2026
Merged

Clarify CI/CD deploy environment selection in zuplo-cli skill#9
ntotten merged 1 commit into
mainfrom
nate/epic-wright-37a7bb

Conversation

@ntotten

@ntotten ntotten commented Jul 5, 2026

Copy link
Copy Markdown
Member

Summary

Improves the zuplo-cli skill's guidance on how agents should set up CI/CD deployments.

The previous "Deploy from CI/CD" example hardcoded --environment production, which is misleading. In CI/CD you typically should not set --environment — the CLI reads the current git branch and maps it to the matching Zuplo environment automatically (the default branch, usually main, maps to the production environment).

Changes (skills/zuplo-cli/SKILL.md)

  • Deploy from CI/CD section: replaced the hardcoded --environment production with the correct branch-based flow (npx zuplo deploy --account my-account --project my-project), explained the branch→environment mapping, noted the default branch is configurable in the portal, and documented when --environment is needed (no git repo, or deliberate named-environment/tag deploys such as staging→production).
  • zuplo deploy command reference: reworded so branch-based environment selection is the default and --environment is presented as the exception.

🤖 Generated with Claude Code

Explain that `zuplo deploy` selects the environment from the current
git branch (default branch maps to production), so `--environment`
should be left unset in normal CI/CD. Document when to set it
explicitly (no git repo, or deliberate named-environment/tag deploys)
and note the default branch is configurable in the portal.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 5, 2026 19:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the zuplo-cli skill documentation to clarify how zuplo deploy selects the target Zuplo environment in CI/CD, emphasizing the default branch-based environment mapping and positioning --environment as an exception.

Changes:

  • Rewrote the zuplo deploy command reference to describe branch→environment mapping (default branch → production) as the default behavior.
  • Updated “Deploy from CI/CD” guidance to remove the hardcoded --environment production, add a branch-based deployment example, and document when --environment should be used.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ntotten ntotten merged commit 26e4112 into main Jul 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants