rublev1
(Rublev1)
December 10, 2024, 10:54pm
1
I have a main branch that gets deploy to the production environment, and then I want only my feature branch to deploy to the previews environment, not any other branch.
How can I accomplish this? And how to accomplish this via API?
All branches besides default branch are deployed and assigned a url.
amyegan
(Amy Egan)
December 10, 2024, 11:06pm
2
You can configure Ignored Build Step with a custom script to only allow deployments from specific branches.
There’s a guide with examples to get you started
1 Like
rublev1
(Rublev1)
December 10, 2024, 11:16pm
3
thanks. has to be no-code and only via api. otherwise i guess i can just pull deployments and filter on my backend
rublev1
(Rublev1)
December 11, 2024, 7:05pm
4
hello @amyegan i would love some help with this thanks!
amyegan
(Amy Egan)
December 11, 2024, 9:01pm
5
The create a new project and update an existing project endpoints have a commandForIgnoringBuildStep
param
rublev1
(Rublev1)
December 11, 2024, 9:15pm
6
dont know how i missed that! thanks!
system
(system)
Closed
December 18, 2024, 9:15pm
7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.