R
Railway11mo ago
Spy

Build only on specific branch on deploy

So is it possible to do a
if branch == branch_name {
deploy("prod")
} else if branch == dev_branch_name {
deploy("dev")
if branch == branch_name {
deploy("prod")
} else if branch == dev_branch_name {
deploy("dev")
1 Reply
Want results from more Discord servers?
Add your server