Add promotion guard
parent
28dd007997
commit
f3b850dd11
|
@ -9,6 +9,10 @@ local NetlifyStep(env, prod) = {
|
|||
path: '/site',
|
||||
prod: prod,
|
||||
},
|
||||
when: if prod then {
|
||||
event: ['promote'],
|
||||
target: ['prod'],
|
||||
},
|
||||
};
|
||||
{
|
||||
kind: 'pipeline',
|
||||
|
|
Loading…
Reference in New Issue