chore: migrate CF Pages deploys to cloudflare/wrangler-action#2736
chore: migrate CF Pages deploys to cloudflare/wrangler-action#2736maxffarrell wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
This PR updates the Cloudflare Pages deployment workflows to use Cloudflare’s official Wrangler GitHub Action instead of a third-party Cloudflare Pages deploy action.
Changes:
- Replace
AdrianGonz97/refined-cf-pages-action@v1withcloudflare/wrangler-action@v3across deployment workflows - Switch from structured action inputs (
projectName,directory,deploymentName) towrangler pages deploy ...viacommand - Adjust branch/deployment behavior to be driven by Wrangler CLI flags
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/workflows/deploy-tailwind-3.yml | Migrates Tailwind 3 docs deploy step to wrangler-action with a pages deploy command |
| .github/workflows/deploy-svelte-4.yml | Migrates Svelte 4 docs deploy step to wrangler-action, passing branch via CLI flag |
| .github/workflows/deploy-preview.yml | Migrates preview deploy step to wrangler-action and deploys the downloaded build artifact via CLI |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
| projectName: shadcn-svelte-tw-3 | ||
| directory: ./.svelte-kit/cloudflare | ||
| gitHubToken: ${{ secrets.GITHUB_TOKEN }} |
| githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
| projectName: shadcn-svelte | ||
| directory: ./.svelte-kit/cloudflare | ||
| gitHubToken: ${{ secrets.GITHUB_TOKEN }} |
| gitHubToken: ${{ secrets.GITHUB_TOKEN }} | ||
| command: pages deploy ${{ steps.preview-build-artifact.outputs.download-path }}/cloudflare --project-name=shadcn-svelte |
| gitHubToken: ${{ secrets.GITHUB_TOKEN }} | ||
| workingDirectory: sites/docs | ||
| deploymentName: Production Tailwind 3 | ||
| command: pages deploy ./.svelte-kit/cloudflare --project-name=shadcn-svelte-tw-3 |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
|
Linked issue: #2737 |
AdrianGonz97/refined-cf-pages-actionis deprecated. Replaces it with the officialcloudflare/wrangler-action@v3usingwrangler pages deployacross the preview, svelte-4, and tailwind-3 deploy workflows.Supersedes #2705 because the original PR head repo (
maxffarrell/shadcn-svelte) is no longer in thehuntabyte/shadcn-sveltefork network. This branch is republished from the reforked repo (maxffarrell/shadcn-svelte-og).