Skip to content

Add GitHub Pages deployment guide to CONTRIBUTING.md#461

Merged
tracygardner merged 1 commit into
mainfrom
claude/restore-pr-416-changes-BR2AH
Mar 24, 2026
Merged

Add GitHub Pages deployment guide to CONTRIBUTING.md#461
tracygardner merged 1 commit into
mainfrom
claude/restore-pr-416-changes-BR2AH

Conversation

@tracygardner

@tracygardner tracygardner commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Added comprehensive documentation for deploying forks to GitHub Pages, making it easier for contributors to test their changes in a live environment.

Changes

  • Added a new "Deploying your fork to GitHub Pages" section to CONTRIBUTING.md with step-by-step instructions covering:
    • Pushing the fork to GitHub
    • Configuring GitHub Actions as the Pages source
    • Creating the required flock environment in GitHub settings
    • Triggering manual deployment via the Actions tab
    • Accessing the deployed site at https://YOUR_USERNAME.github.io/flock/
    • Information about automatic redeployment on push to main

Details

The guide provides clear, numbered steps with code snippets and specific UI navigation instructions to help contributors set up and deploy their forks without requiring additional external documentation.

https://claude.ai/code/session_016KXTVjx3g59sNWsFJRkv8o

Summary by CodeRabbit

  • Documentation
    • Updated contributing guide with GitHub Pages deployment instructions for forked repositories.

@coderabbitai

coderabbitai Bot commented Mar 24, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

A new "Deploying your fork to GitHub Pages" section was added to CONTRIBUTING.md, providing step-by-step instructions for deploying forks using GitHub Pages with GitHub Actions. The guide covers configuring the deployment workflow, creating environments, and accessing the deployed site.

Changes

Cohort / File(s) Summary
Documentation
CONTRIBUTING.md
Added comprehensive GitHub Pages deployment instructions for contributors, including steps for pushing to main, configuring GitHub Pages, creating the flock environment, triggering the Vite workflow, and accessing the deployed site.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 A fork deployed to the Pages so bright,
Instructions clear, making deployments light,
With Actions and workflows all set to go,
Your site shall flourish for all to know! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding deployment documentation to CONTRIBUTING.md. It is concise, clear, and directly reflects the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/restore-pr-416-changes-BR2AH

Comment @coderabbitai help to get the list of available commands and usage tips.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 24, 2026

Copy link
Copy Markdown

Deploying flockdev with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7a3ab6c
Status: ✅  Deploy successful!
Preview URL: https://cc042bdc.flockdev.pages.dev
Branch Preview URL: https://claude-restore-pr-416-change.flockdev.pages.dev

View logs

The section was lost after the Prettier reformat PR (#414).
Originally contributed by @lawsie in #407

Co-authored-by: lawsie <5183697+lawsie@users.noreply.github.com>

https://claude.ai/code/session_016KXTVjx3g59sNWsFJRkv8o
@tracygardner tracygardner force-pushed the claude/restore-pr-416-changes-BR2AH branch from 9c4b7a8 to 7a3ab6c Compare March 24, 2026 14:00

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
CONTRIBUTING.md (1)

91-97: Make the Actions enablement step conditional to avoid user confusion.

Line 94 assumes a button that may not exist if workflows are already enabled. Reword this as conditional so contributors don’t get blocked.

Proposed wording tweak
 4. **Trigger the deployment**
    - Go back to your fork at https://github.com/YOUR_USERNAME/flock/
    - Click the 'Actions' tab
-   - Click 'I understand my workflows, go ahead and enable them'
+   - If prompted, click 'I understand my workflows, go ahead and enable them'
    - Click on the new option 'Vite GitHub Pages Deploy'
    - Click 'Run workflow' dropdown, then select 'Run workflow' to deploy manually
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@CONTRIBUTING.md` around lines 91 - 97, Edit the "Trigger the deployment" step
text so the Actions enablement instruction is conditional rather than
prescriptive: update the step under the "Trigger the deployment" heading (step
4) to say something like "If workflows are not enabled, click 'I understand my
workflows, go ahead and enable them' — otherwise skip this" and keep the
remaining steps about selecting 'Vite GitHub Pages Deploy' and 'Run workflow'
unchanged; ensure the wording clearly communicates that the enablement button
appears only when workflows are disabled to avoid confusing contributors.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@CONTRIBUTING.md`:
- Around line 74-101: Prettier reported formatting issues in CONTRIBUTING.md
within the "### Deploying your fork to GitHub Pages" section; run the formatter
(e.g., npx prettier --write CONTRIBUTING.md) to normalize the markdown, review
the formatted changes for any accidental content shifts, and commit the updated
CONTRIBUTING.md so the CI warning is resolved.

---

Nitpick comments:
In `@CONTRIBUTING.md`:
- Around line 91-97: Edit the "Trigger the deployment" step text so the Actions
enablement instruction is conditional rather than prescriptive: update the step
under the "Trigger the deployment" heading (step 4) to say something like "If
workflows are not enabled, click 'I understand my workflows, go ahead and enable
them' — otherwise skip this" and keep the remaining steps about selecting 'Vite
GitHub Pages Deploy' and 'Run workflow' unchanged; ensure the wording clearly
communicates that the enablement button appears only when workflows are disabled
to avoid confusing contributors.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5c04b60e-4e89-42f6-a042-827601e9030f

📥 Commits

Reviewing files that changed from the base of the PR and between 76861b8 and 7a3ab6c.

📒 Files selected for processing (1)
  • CONTRIBUTING.md

Comment thread CONTRIBUTING.md
Comment on lines +74 to +101
### Deploying your fork to GitHub Pages
1. **Push your fork to GitHub**:
```bash
git push origin main
```

2. **Set up GitHub Actions**
- Go to your fork on GitHub at https://github.com/YOUR_USERNAME/flock/
- Click Settings > Pages
- In the 'Source' dropdown, select 'GitHub Actions'

3. **Create the Flock environment**:
- Still in settings, click 'Environments'
- Click 'New Environment'
- Name it `flock` (all lowercase, do not change this)
- Click 'Configure environment' but do not make any changes

4. **Trigger the deployment**
- Go back to your fork at https://github.com/YOUR_USERNAME/flock/
- Click the 'Actions' tab
- Click 'I understand my workflows, go ahead and enable them'
- Click on the new option 'Vite GitHub Pages Deploy'
- Click 'Run workflow' dropdown, then select 'Run workflow' to deploy manually

5. **Visit your deployment**
- Once the site has deployed you will see it at https://YOUR_USERNAME.github.io/flock/
- GitHub pages should redeploy automatically when you push to main

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Resolve the Prettier warning for this file before merge.

The pipeline reported a formatting warning for CONTRIBUTING.md. Please run the formatter and commit the normalized markdown output.

Quick fix command
npx prettier --write CONTRIBUTING.md
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@CONTRIBUTING.md` around lines 74 - 101, Prettier reported formatting issues
in CONTRIBUTING.md within the "### Deploying your fork to GitHub Pages" section;
run the formatter (e.g., npx prettier --write CONTRIBUTING.md) to normalize the
markdown, review the formatted changes for any accidental content shifts, and
commit the updated CONTRIBUTING.md so the CI warning is resolved.

@tracygardner tracygardner merged commit 68afc9a into main Mar 24, 2026
8 checks passed
@tracygardner tracygardner deleted the claude/restore-pr-416-changes-BR2AH branch March 27, 2026 12:07
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