Add Netlify auth
continuous-integration/drone/push Build was killed Details

main
mat ess 2022-12-21 23:34:16 -05:00
parent 64a8c0f4e6
commit 4ef1b26206
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ local DeployStep(env) =
local options = if prod then '--prod' else '--alias staging'; local options = if prod then '--prod' else '--alias staging';
Step(env, 'netlify deploy', [ Step(env, 'netlify deploy', [
NIX + ' profile install nixpkgs#netlify-cli', NIX + ' profile install nixpkgs#netlify-cli',
'netlify deploy -d /site --site $NETLIFY_SITE_ID' + options, 'netlify deploy -d /site --auth $NETLIFY_TOKEN --site $NETLIFY_SITE_ID --message "$DRONE_COMMIT_MESSAGE"' + options,
]); ]);
{ {