Skip to content

Say every port publishes, and stop requiring the unused secret - #34

Merged
tony merged 2 commits into
mainfrom
deploy-docs-truth
Sep 27, 2026
Merged

tony merged 2 commits into
mainfrom
deploy-docs-truth

Conversation

@tony

@tony tony commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

Part of #27. The reusable deploy workflow and docs/ci.md still described a boundary that no longer exists: Rust, Go and Java "deep-link to an ecosystem host and should never reach here". All ten ports now publish a tree to the bucket, and every port role trusts only this workflow through its job_workflow_ref claim.

Changes

  • reusable-deploy.yml: the header and the slug-list comment now say every port calls it. The header no longer claims the workflow invalidates, which its own version-kind note denies.
  • docs/ci.md: the opening paragraph and the "Which repos call" table mark rs, go and java as publishing.
  • reusable-deploy.yml: distribution becomes optional. Nothing reads it, and callers that still pass it keep working.

Verification

  • actionlint is clean on the workflow.
  • site/test/deploy-workflow.test.ts passes (6 tests).

why: The workflow header and docs/ci.md still said Rust, Go and Java
deep-link to an ecosystem host and never reach this bucket. All ten
ports now publish a tree here, and every port role trusts only this
workflow by its job_workflow_ref claim, so the text described a
boundary that no longer exists. The header also claimed the workflow
invalidates, which its own version-kind note denies.

what:
- Rewrite the reusable-deploy.yml header and the slug-list comment
- Drop the invalidation claim from the header
- Mark rs, go and java as publishing in docs/ci.md, and correct its
  opening paragraph
why: reusable-deploy.yml issues no CloudFront invalidation, so the
`distribution` secret it required was never read. Requiring it made
every caller hold and pass a secret for nothing.

what:
- Mark `distribution` optional, with a note, so callers that still
  pass it keep working
@tony
tony merged commit 0fb9960 into main Sep 27, 2026
8 checks passed
@tony
tony temporarily deployed to docs-preview-cleanup September 27, 2026 19:00 — with GitHub Actions Inactive

This branch was previously deployed

2 inactive deployments
docs-preview-cleanup — 16936209 Deployed Sep 27, 2026 by tony via cleanup #26
docs-preview — 16936209 Deployed Sep 27, 2026 by tony via publish-preview / publish #258
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