From 4ef1b262061f2b7ce172c0a3645ef996d7aad712 Mon Sep 17 00:00:00 2001 From: mat ess Date: Wed, 21 Dec 2022 23:34:16 -0500 Subject: [PATCH] Add Netlify auth --- .drone.jsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ]); {