Skip to content

Comments

Add --publish-to-github flag for GitHub Pages deployment#79

Open
asimpson wants to merge 1 commit intosimonw:mainfrom
asimpson:simpson-publish-to-github
Open

Add --publish-to-github flag for GitHub Pages deployment#79
asimpson wants to merge 1 commit intosimonw:mainfrom
asimpson:simpson-publish-to-github

Conversation

@asimpson
Copy link

No description provided.

Add new flags to local, json, and web commands:
- --publish-to-github: Enable publishing to GitHub Pages repo
- --publish-to-github-repo: Target repository (owner/repo)
- --publish-to-github-branch: Target branch (default: gh-pages)

Files are uploaded to: {username}/{date-slug}/ path in the repo,
making them accessible via GitHub Pages at:
https://{owner}.github.io/{repo}/{username}/{date-slug}/

Features:
- Prompts interactively for repo/branch if not specified
- Updates existing files with correct SHA
- Good error messages for common issues (not authenticated, repo not found, etc.)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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