Skip to content

feat(push): support --target=staging for preview envs#6

Merged
hbrombeer merged 1 commit intomainfrom
feat/staging-target
Apr 27, 2026
Merged

feat(push): support --target=staging for preview envs#6
hbrombeer merged 1 commit intomainfrom
feat/staging-target

Conversation

@hbrombeer
Copy link
Copy Markdown
Member

Phase 3.2 catch-up. Gradle plugin already supports staging; CLI just gates the value + documents.

Phase 3.2 (forge groundsgg/grounds-forge#47, deployed in v0.14.0)
made `target=staging` deploy to ephemeral preview-<id> namespaces
with 7d TTL and a hostname like `<name>-pr<id>.dev.grnds.io`. The
Gradle plugin (grounds-push) already accepts both targets; the CLI
flag's help text just hadn't caught up.

Changes:
- Update Use line to `push [--target=dev|staging]`
- Add multi-line Long help explaining what each target does
- Validate --target client-side (fail loud before invoking Gradle)
- Update flag description to mention TTL semantics

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hbrombeer hbrombeer merged commit 224cded into main Apr 27, 2026
3 checks passed
@hbrombeer hbrombeer deleted the feat/staging-target branch April 27, 2026 18:33
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.

1 participant