Skip to content

fix(ci): deploys fail, cloudflare/pages-action removed from GitHub #177

Closed

Description

@nicolasiscoding

Change type

Planned — normal review → merge

Risk / impact

Low

Security impact assessed?

No — no security impact

Details — description & full context

cloudflare/pages-action no longer exists on GitHub (gh api repos/cloudflare/pages-action returns 404; Cloudflare replaced it with cloudflare/wrangler-action). Any workflow using it fails at "Set up job" with: "Unable to resolve actions. Cannot access repositories 'cloudflare/pages-action'". Seen in TurboDocx/DotCom run 35857846350 (2026-09-23). Fixed in DotCom by PR TurboDocx/DotCom#283 (CR TurboDocx/DotCom#282), which is the reference implementation. The next deploy will fail until migrated.

Affected workflow: .github/workflows/deploy.yml
Affected step: "Deploy to Cloudflare Pages"
Affected triggers: push to develop and main branches

Component / area

CI/CD workflows

Testing & validation

  • CI / build passes on the implementing PR
  • Tests or examples added/updated for the change

Rollback plan

Revert the merge commit; manual fallback npx wrangler pages deploy build --project-name=turbodocx-docs.

Breaking change for consumers?

No

Reviewer / approver

@me

Current step (to replace)

- name: Deploy to Cloudflare Pages
  uses: cloudflare/pages-action@v1
  with:
    apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
    accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
    projectName: turbodocx-docs
    directory: build
    gitHubToken: ${{ secrets.GITHUB_TOKEN }}

Fix (replacement YAML)

- name: Deploy to Cloudflare Pages
  uses: cloudflare/wrangler-action@v4
  with:
    apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
    accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
    command: pages deploy build --project-name=turbodocx-docs
    gitHubToken: ${{ secrets.GITHUB_TOKEN }}

Acceptance / test plan

  • workflow YAML parses with no duplicate keys
  • after merge, the deploy run for develop branch is green
  • after merge, the deploy run for main branch is green
  • the deployed sites return 200

Activity

  1. nicolasiscoding commented on Sep 23, 2026

    @nicolasiscoding
    MemberAuthor

    Approved by @nicolasiscoding (repo owner), 2026-09-23. Merged to develop via PR #178 (rebase). The PR's own check run 35864284266 executed the real Cloudflare Pages deploy step with cloudflare/wrangler-action@v4 and passed. Note: this workflow deploys only on push to main (and runs on pull_request), so production docs pick up the fix when develop is promoted to main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

changeSOC 2 change management recorddocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions