Skip to content

fix(ci): deploy with cloudflare/wrangler-action (pages-action was removed) - #178

Merged
nicolasiscoding merged 1 commit into
developfrom
fix/deploy-wrangler-action
Sep 23, 2026
Merged

nicolasiscoding merged 1 commit into
developfrom
fix/deploy-wrangler-action

Conversation

@nicolasiscoding

Copy link
Copy Markdown
Member

Closes #177

Summary

cloudflare/pages-action was removed from GitHub (404 on gh api repos/cloudflare/pages-action), so every deploy fails at "Set up job" with: "Unable to resolve actions. Cannot access repositories 'cloudflare/pages-action'". Cloudflare's replacement is cloudflare/wrangler-action.

This replaces the "Deploy to Cloudflare Pages" step in .github/workflows/deploy.yml:

  • uses: cloudflare/pages-action@v1 -> uses: cloudflare/wrangler-action@v4
  • projectName: turbodocx-docs + directory: build -> command: pages deploy build --project-name=turbodocx-docs
  • apiToken, accountId, and gitHubToken inputs are unchanged (same secrets)
  • No branch input existed on the old step, so no --branch= flag was added

Same pattern as TurboDocx/DotCom#283, which is live and verified green in production.

Nothing else in the workflow was changed. Confirmed .github/workflows/deploy.yml is identical between develop and main (no separate fix needed there).

Test plan

  • workflow YAML parses with no duplicate keys (validated with a PyYAML loader that raises on duplicate mapping keys)
  • deploy run is green after merge

This branch was successfully deployed

1 active deployment
preview — c52f7d15 Deployed Sep 23, 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.

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

1 participant