Add promotion guard
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

pull/1/head
mat ess 2022-10-20 18:49:27 -04:00
parent 28dd007997
commit f3b850dd11
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ local NetlifyStep(env, prod) = {
path: '/site', path: '/site',
prod: prod, prod: prod,
}, },
when: if prod then {
event: ['promote'],
target: ['prod'],
},
}; };
{ {
kind: 'pipeline', kind: 'pipeline',