Add Netlify auth
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
64a8c0f4e6
commit
4ef1b26206
|
@ -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,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue