non-interactive apt
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2022-05-17 23:37:29 +02:00
parent 407ab5e48b
commit 3304647974

View File

@ -19,7 +19,9 @@ 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 npm
- echo 'tzdata tzdata/Areas select Europe' | debconf-set-selections
- echo 'tzdata tzdata/Zones/Europe select Budapest' | debconf-set-selections
- DEBIAN_FRONTEND="noninteractive" 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