Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
dev env pages deployment keeps going to production via GH actions - Cloudflare Developers
CD
Cloudflare Developers
•
4y ago
•
2 replies
Gagan Suie
dev env pages deployment keeps going to production via GH actions
This example says the branch should deploy it to the correct location
.
https://github.com/marketplace/actions/deploy-to-cloudflare-workers-with-wrangler#deploy-your-pages-site-production--preview
Here is the github actions deployment
- name
: Publish
uses
: cloudflare
/wrangler
-action
@2
.0
.0
with
:
apiToken
:
$
{
{ secrets
.CLOUDFLARE
_API
_TOKEN
}
}
accountId
:
$
{
{ secrets
.CLOUDFLARE
_ACCOUNT
_ID
}
}
command
: pages publish
"
.svelte
-kit
/cloudflare
"
-
-project
-name
=bananas
GitHub
Deploy to Cloudflare Workers with Wrangler - GitHub Marketplace
Deploy your Cloudflare Workers and Pages projects from GitHub using Wrangler
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
how to wrangler pages deploy to production env
CD
Cloudflare Developers / pages-help
16mo ago
Reccomended Way To Run Npx Wrangler Pages Dev with preview/production env vars?
CD
Cloudflare Developers / pages-help
13mo ago
Data renders locally but not on dev env via cloudflare pages
CD
Cloudflare Developers / pages-help
2y ago
deployment works locally, but not via github actions
CD
Cloudflare Developers / pages-help
2y ago