Add prod exclusion
parent
f3b850dd11
commit
efc8b7df02
|
@ -12,6 +12,8 @@ local NetlifyStep(env, prod) = {
|
||||||
when: if prod then {
|
when: if prod then {
|
||||||
event: ['promote'],
|
event: ['promote'],
|
||||||
target: ['prod'],
|
target: ['prod'],
|
||||||
|
} else {
|
||||||
|
target: { exclude: ['prod'] },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue