Auto-detect mode/deployment from the trigger; add deployment report and registry #1
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/endpoints-deployment-report-pr-91fdff"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
modeanddeploymentare now inferred from the triggering event when left unset: pull_request →pr-<number>up/down, push ofproduction-tag(defaultprod) →production, push tostaging-branch(default: repo default branch) →staging, push to any other branch → sanitized branch name. A push that deletes the ref tears the matching environment down.sc deploy, the action fetches the deployment's live endpoints (GET /cli/applications/{slug}/endpoints) and posts/updates a PR comment with them.docs/reference.md.docs/registry.mdtracking which apps use this action and how each is configured.Test plan
${{ }}expression noise)up/downruns on niall-chat, untitled-nomad-game and example-app after they're migrated to the new workflowOne job can now cover PR previews, staging, production and per-branch environments with no per-trigger mode/deployment config — resolve infers both from the event, and a push that deletes a ref tears the matching environment down the same way a closed PR already did. Also posts a PR comment reporting the deployment's live endpoints (GET /cli/applications/{slug}/endpoints), and adds docs/registry.md to track which apps actually use this action. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>