Skip to content

ci(docs): deploy to the emulate Cloudflare Pages project - #41

Merged
amondnet merged 1 commit into
mainfrom
amondnet/docs-pages-project
Oct 17, 2026
Merged

amondnet merged 1 commit into
mainfrom
amondnet/docs-pages-project

Conversation

@amondnet

@amondnet amondnet commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The Docs workflow's Deploy to Cloudflare Pages step has failed on every run since PR #34 because the Pages project emulate-docs doesn't exist:

✘ [ERROR] The Pages project "emulate-docs" does not exist.

The project in Cloudflare is named emulate. This PR points every reference at it:

  • .github/workflows/docs.yml: --project-name=emulate
  • website/wrangler.jsonc: name (used by manual bun run deploy)
  • website/README.md: deployment note

website/package.json's name is the npm package name and is unchanged.

Test plan

  • The Docs workflow on this PR deploys a preview to the emulate project

Summary by cubic

Fixes the Docs workflow's Deploy to Cloudflare Pages step, which failed on every run because the emulate-docs Pages project no longer exists in Cloudflare.

Points every reference at the existing emulate project:

  • .github/workflows/docs.yml: deploy command uses --project-name=emulate
  • website/wrangler.jsonc: name updated
  • website/README.md: deployment note updated

Written for commit 32ce8fe. Summary will update on new commits.

Turn on auto-fix

The emulate-docs Pages project no longer exists, so every Docs run
failed at the deploy step. Point the workflow, wrangler config, and
README at the existing emulate project.
@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs preview deployed

URL
Preview https://1e10622e.emulate.pages.dev
Branch alias https://amondnet-docs-pages-project.emulate.pages.dev

Commit: 32ce8fe

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@sonarqubecloud

Copy link
Copy Markdown

@amondnet
amondnet marked this pull request as ready for review October 17, 2026 16:10

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 3 files

Architecture diagram
sequenceDiagram
    participant GH as GitHub Actions
    participant CF as Cloudflare Pages
    participant Site as Static Site (docs)

    Note over GH,CF: Docs Deployment Pipeline

    GH->>GH: Trigger on push (main / PR)
    GH->>GH: Checkout repo
    GH->>GH: Set up Bun
    GH->>GH: Install dependencies
    GH->>GH: Build static site (bun run build)

    alt Pull Request event
        GH->>GH: Deploy preview build
        GH->>CF: pages deploy dist<br/>--project-name=emulate<br/>--branch=<head_ref>
    else Push to main
        GH->>GH: Deploy production build
        GH->>CF: pages deploy dist<br/>--project-name=emulate<br/>--branch=main
    end

    CF->>CF: Lookup Pages project "emulate"
    alt Project found
        CF->>CF: Upload dist/ to Pages project
        CF-->>GH: Preview/Production URL
        GH-->>GH: Comment preview URL on PR (if applicable)
        Site-->>CF: Serve static assets
    else Project not found
        CF-->>GH: Error: Pages project does not exist
        GH-->>GH: Mark deploy step as failed
    end

    Note over GH,CF: Manual deployment fallback<br/>via bun run deploy<br/>uses wrangler.jsonc name field
Loading

Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[High impact] The PR appears safe to merge.

Summary

Points documentation deployments at the Cloudflare Pages project emulate.

  • Docs deployments now target the emulate Pages project.

Reviews (1) · Last reviewed commit: "ci(docs): deploy to the emulate Cloudfla..." · Reviewed by Greptile

@amondnet
amondnet merged commit fa3beb4 into main Oct 17, 2026
11 checks passed

This branch was successfully deployed

1 active deployment
preview — 32ce8feb Deployed Oct 17, 2026 by github-actions[bot]
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