diff --git a/.drone.jsonnet b/.drone.jsonnet index b5e0b00..7698e48 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -33,7 +33,7 @@ local DeployStep(env) = local options = if prod then '--prod' else '--alias staging'; Step(env, 'netlify deploy', [ 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, ]); {