Paul
CDCloudflare Developers
•Created by Paul on 10/13/2024 in #pages-help
Ignore build step
Hi All 👋
I have a two cloudflare pages project setup on the same github repository to seperate environments with automated deployments.
- acme-production (branch
main
)
- acme-staging (branch develop
)
Is there a way with cloudflare pages that I can ignore preview/production deployments based on my target branch?
For example;
1. when I push to main
it should only deploy production for acme-production
, when I open a pull request with target branch as main
it should deploy a preview on acme-production
but not on acme-staging
.
2. when I push to develop
it should deploy a production for acme-staging
, when I open a pull request with target branch as develop
it should start a preview for acme-staging
but not for acme-production
.
I'm looking for something in cloudflare pages similar to vercel ignore build step: https://vercel.com/docs/projects/overview#ignored-build-step5 replies