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
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 your Cloudflare Workers and Pages projects from GitHub using Wrangler