Add prod exclusion
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

pull/1/head
mat ess 2022-10-20 18:53:35 -04:00
parent f3b850dd11
commit efc8b7df02
1 changed files with 2 additions and 0 deletions

View File

@ -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'] },
}, },
}; };
{ {