Skip to content

ci: add bitcoin-dag.yml GitHub Pages repo viewer workflow - #1

Merged
RandyMcMillan merged 1 commit into
masterfrom
copilot/create-gh-pages-repo-viewer
Aug 25, 2026
Merged

RandyMcMillan merged 1 commit into
masterfrom
copilot/create-gh-pages-repo-viewer

Conversation

Copilot AI commented Aug 25, 2026

Copy link
Copy Markdown

Adds a static GitHub Pages "repo viewer" for this repository, inspired by gnostr-org/nostr-dag.

Workflow (bitcoin-dag.yml)

  • Triggers on push to master/main and workflow_dispatch
  • Collects repo metadata at build time via git log, git branch -r, git tag — baked directly into static HTML (no runtime API calls)
  • Builds and deploys a two-page site via actions/upload-pages-artifact + actions/deploy-pages

Generated site

  • / — landing page: repo name, description, default branch, HEAD SHA, build timestamp
  • /git/ — repository grid card; click to open detail panel
  • /git/?repo=bitcoin&branch=master — detail panel with branches, tags, and last 50 commits (full SHAs — never elided); URL param routing requires no server-side rewrites, works on static Pages

Design

Dark theme with Bitcoin-orange (#f7931a) accents; shared CSS in site/shared/style.css. DAG-inspired param-based routing mirrors the nostr-dag git viewer's /git/?repo=...&branch=...&tag=... pattern.

Co-authored-by: RandyMcMillan <152159+RandyMcMillan@users.noreply.github.com>
@RandyMcMillan
RandyMcMillan marked this pull request as ready for review August 25, 2026 14:04
@RandyMcMillan
RandyMcMillan merged commit e341385 into master Aug 25, 2026
24 of 50 checks passed
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.

2 participants