From 407ab5e48b47f72f56aca777e5630e66ff0b6d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 17 May 2022 23:30:26 +0200 Subject: [PATCH] use npm for func cli --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 8763b95..0645ad2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,7 @@ steps: - apt install -y wget - wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb - dpkg -i packages-microsoft-prod.deb - - apt install -y azure-cli azure-functions-core-tools-4 + - apt install -y azure-cli npm + - npm i -g azure-functions-core-tools@4 --unsafe-perm true - az login --service-principal -u $AZURE_SP -p $AZURE_SP_PASSWORD --tenant $AZURE_SP_TENANT - func azure functionapp publish $FUNCTION_APP_NAME --python