Adopt the unified sc deploy workflow #22

Open
geusebio wants to merge 5 commits from claude/adopt-unified-sc-workflow into main
Owner

Replaces pr-environment.yml, staging.yml and production.yml with a single deploy.yml that infers mode and deployment from the trigger instead of hardcoding it per file. Same three environments (PR previews, staging tracking main, production tracking the prod tag) plus branch-named deployments for anything else, all from one job.

See https://git.grey.ooo/Grey.ooo/someones.computer_pr-environment-action for the resolution rules and the deployment-report PR comment this now also posts.

Replaces pr-environment.yml, staging.yml and production.yml with a single deploy.yml that infers mode and deployment from the trigger instead of hardcoding it per file. Same three environments (PR previews, staging tracking main, production tracking the prod tag) plus branch-named deployments for anything else, all from one job. See https://git.grey.ooo/Grey.ooo/someones.computer_pr-environment-action for the resolution rules and the deployment-report PR comment this now also posts.
Adopt the unified sc deploy workflow
Some checks failed
Deploy / deploy (push) Failing after 4s
Deploy / deploy (pull_request) Successful in 5s
4a80150dde
Replaces the three separate pr-environment/staging/production workflows
with one job that infers mode and deployment from whatever triggered it —
PR previews, a persistent staging deployment tracking main, a production
deployment tracking the prod tag, and one deployment per other branch, all
from the same step. See the pr-environment-action's own README/docs for the
resolution rules.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pin the action to a commit until PR #1 merges upstream
Some checks failed
Deploy / deploy (pull_request) Failing after 14s
Deploy / deploy (push) Failing after 15s
4f5c7ada21
@main doesn't have the auto-detected mode/deployment logic yet — the push
that just landed on this branch hit the old resolve step's hard error
("no deployment name given ... pass 'deployment' explicitly"), and the
pull_request run silently deployed nothing (mode was never 'up' since
nothing sets it without the inference). Pinning to the commit that has the
fix until it merges.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pass --endpoint explicitly — sc falls back to a local $SC_ENDPOINT here
Some checks failed
Deploy / deploy (push) Has been cancelled
Deploy / deploy (pull_request) Has been cancelled
589faa6ef4
The old workflows always set this explicitly; dropping it as "redundant
with the default" broke deploys on this org's runner image, which sets
$SC_ENDPOINT to a local test address that sc prefers over its own
https://someones.computer default when --endpoint isn't passed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Bump the action back to @main now that PR #1 merged
Some checks failed
Deploy / deploy (push) Failing after 47s
Deploy / deploy (pull_request) Failing after 47s
47cf4bf3ed
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Retry: re-run deploy after platform-side streaming error
All checks were successful
Deploy / deploy (pull_request) Successful in 10m10s
Deploy / deploy (push) Successful in 10m10s
3b8a05d72f
All checks were successful
Deploy / deploy (pull_request) Successful in 10m10s
Deploy / deploy (push) Successful in 10m10s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin claude/adopt-unified-sc-workflow:claude/adopt-unified-sc-workflow
git switch claude/adopt-unified-sc-workflow

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff claude/adopt-unified-sc-workflow
git switch claude/adopt-unified-sc-workflow
git rebase main
git switch main
git merge --ff-only claude/adopt-unified-sc-workflow
git switch claude/adopt-unified-sc-workflow
git rebase main
git switch main
git merge --no-ff claude/adopt-unified-sc-workflow
git switch main
git merge --squash claude/adopt-unified-sc-workflow
git switch main
git merge --ff-only claude/adopt-unified-sc-workflow
git switch main
git merge claude/adopt-unified-sc-workflow
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Grey.ooo/someones.computer_example_app!22
No description provided.