Skip to content

Conversation

@johndmulhausen
Copy link
Contributor

@johndmulhausen johndmulhausen commented Mar 21, 2025

CloudFlare Pages integration doesn't run on forks. But, because the forks are public, we can do custom CI that manually git clones those forks, and, after checking them out, runs the CloudFlare Pages build for us, commenting back in the originating PR with a link.

See #1206 for an example of this CI in action

CloudFlare Pages integration doesn't run on forks. But, because the forks are public, we can do custom CI that manually `git clone`s those forks, and, after checking them out, runs the CloudFlare Pages build for us, commenting back in the originating PR with a link.
@johndmulhausen johndmulhausen requested a review from a team as a code owner March 21, 2025 03:08
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 21, 2025

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: e0a009d
Status: ✅  Deploy successful!
Preview URL: https://a5a50244.docodile.pages.dev
Branch Preview URL: https://forks-build-on-cloudflare.docodile.pages.dev

View logs

@github-actions github-actions bot requested a deployment to docs (Preview) March 21, 2025 04:03 Abandoned
@github-actions github-actions bot requested a deployment to docs (Preview) March 21, 2025 04:07 Abandoned
@github-actions github-actions bot requested a deployment to docs (Preview) March 21, 2025 04:11 Abandoned
@github-actions github-actions bot requested a deployment to docs (Preview) March 21, 2025 04:14 Abandoned
Copy link
Contributor

@ngrayluna ngrayluna left a comment

Choose a reason for hiding this comment

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

Left a question (for my understanding). Otherwise looks good.

fi
# Debug directory structure
- name: Debug directory structure
Copy link
Contributor

Choose a reason for hiding this comment

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

What happens w/out these checks? Curious what errors you were hitting.

Mission 1 of this PR: To improve some things that are currently a bit
awkward in the quickstart.
Mission 2: Testing new functionality that deploys CloudFlare preview
builds on PRs created from forks. (See the GitHub Actions
comment/CloudFlare links below)

Mission 2 is why this PR targets the `forks-build-on-cloudflare` branch
(so you can see the CI in action), and is also why the correct merge
order is: this PR first, then #1205 after to finally publish into main.
@johndmulhausen johndmulhausen enabled auto-merge (squash) March 21, 2025 18:55
@johndmulhausen johndmulhausen merged commit 38606c4 into main Mar 21, 2025
3 checks passed
@johndmulhausen johndmulhausen deleted the forks-build-on-cloudflare branch March 21, 2025 18:56
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.

3 participants