Skip to content

Add GitHub Pages publishing for CogMap - #3

Merged
ryannadel merged 1 commit into
mainfrom
ryannadel-add-github-pages-publish
Jul 12, 2026
Merged

Add GitHub Pages publishing for CogMap#3
ryannadel merged 1 commit into
mainfrom
ryannadel-add-github-pages-publish

Conversation

@ryannadel

Copy link
Copy Markdown
Owner

CogMap already produces a self-contained HTML artifact, but sharing it required manual branch setup and Pages configuration. This adds a first-class GitHub Pages publishing path so the build skill can refresh a map and publish a shareable URL in the same workflow.

Summary

  • Adds publish_github_pages.py, a deterministic publisher that copies the rendered CogMap output to index.html on a Pages branch, includes the data JSON and manifest, pushes the branch, and configures Pages with gh when available.
  • Wires refresh.py --publish-github-pages plus publish options for remote, branch, path, dry-run/no-push, and skipping Pages API configuration.
  • Documents the publishing flow in the skill and project READMEs, then syncs the .agents skill mirror.
  • Adds tests for GitHub remote parsing, Pages URL generation, and local no-push branch payload creation.

Validation

  • python -m compileall -q .
  • python -m unittest discover -s tests -v
  • python cogmap-app/tools/sync_skill.py --check

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@ryannadel
ryannadel merged commit 3059079 into main Jul 12, 2026
1 check 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