Skip to content

Add reusable browser preview workflow - #7

Closed
schnuartz-ai wants to merge 1 commit into
mainfrom
codex/reusable-browser-preview
Closed

schnuartz-ai wants to merge 1 commit into
mainfrom
codex/reusable-browser-preview

Conversation

@schnuartz-ai

Copy link
Copy Markdown
Collaborator

Summary

Adds the reusable browser preview workflow for downstream firmware repositories.

  • Builds browser previews from an explicitly supplied Specter DIY revision.
  • Pins the Virtual Host dependency to a full commit SHA.
  • Keeps untrusted firmware builds isolated from publishing credentials; the publisher only consumes and verifies the produced artifact.
  • Publishes immutable, provenance-bearing preview packages for the caller to consume by exact workflow revision.
  • Documents the manual build and the repository-owned GitHub Pages setup required for independent forks.

Verification

  • WebAssembly build and package verification passed.
  • Browser/Chromium, network-policy, and Virtual Host USB transport checks passed.
  • Workflow contract, resolver/package, JavaScript provenance, and demo-data checks passed.
  • actionlint and git diff --check passed.

Notes for maintainers

A fork that has not published Pages before must set Settings → Pages → Source: GitHub Actions once. This workflow deliberately does not use a separate administrator token to configure repository Pages settings.

@schnuartz-ai

Copy link
Copy Markdown
Collaborator Author

Closing: the reusable-workflow design is replaced by the dispatch-based preview service in #8, paired with cryptoadvance/specter-diy#440. No separate review needed.

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