site-deploy: canonical reusable gated+signed deploy workflow#38
Merged
Conversation
Extracts the green, proven pipeline from bdelanghe/site into a reusable workflow so every bounded-systems site derives one source of truth instead of copy-pasting it. Caller builds + keyless-signs to an OCI artifact, then `uses:` this with the artifact ref + config (domain, cosign identity regexp). preview pulls + cosign-verifies, uploads an un-served Cloudflare version, and CRYPTOGRAPHICALLY VERIFIES that version's own stable preview URL — deterministic, no edge-propagation retry (the fix for the flake we hit on the per-site pipeline). promote is gated behind the caller's site-promote Environment; on approval it deploys the same reviewed version and confirms prod routes to it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
bdelanghe
added a commit
to bdelanghe/site
that referenced
this pull request
Jun 29, 2026
#170) The canonical pipeline is proven green end-to-end, and bounded-systems/.github#38 is merged. Flip the reusable-workflow ref from the test branch to the merged main SHA (pinned, per the SHA-pinning convention; `# main` for readability). Co-authored-by: Robert DeLanghe <oink_monocle_7d@icloud.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The canonical home for the deploy pipeline (your org-canonical direction): every bounded-systems site derives one source of truth instead of copy-pasting
deploy.yml.What it is
A
workflow_callreusable workflow. A caller builds + keyless-signs its site to an OCI artifact, then:What it does
<version>-<worker>.workers.devserves exactly that version, so there's no edge-propagation race — it retires the retry we needed on the per-site pipeline. A failed verify means no promotion.site-promoteEnvironment (required reviewers). On approval, deploy the same reviewed version to 100% prod, then confirm prod routes to it (manifest equality) + an RFC 9110 probe.The heavy crypto check happens once, deterministically, pre-promotion; promote only proves prod serves the already-verified bytes.
Validation plan
Reusable workflows are callable from a branch, so
bdelanghe/site's caller PR will point at@feat/canonical-site-deployfor a real gated test run before this merges tomain. Built from the exact green pipeline (bdelanghe/site #162→#167).🤖 Generated with Claude Code