This commit is contained in:
parent
7d883c6b59
commit
652e3012a5
@ -13,9 +13,12 @@ steps:
|
|||||||
from_secret: AZURE_SP_TENANT
|
from_secret: AZURE_SP_TENANT
|
||||||
FUNCTION_APP_NAME:
|
FUNCTION_APP_NAME:
|
||||||
from_secret: FUNCTION_APP_NAME
|
from_secret: FUNCTION_APP_NAME
|
||||||
image: mcr.microsoft.com/azure-cli
|
image: ubuntu:20.04
|
||||||
commands:
|
commands:
|
||||||
- apk add npm
|
- apt update
|
||||||
- npm i -g azure-functions-core-tools@core --unsafe-perm true
|
- 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
|
||||||
- az login --service-principal -u $AZURE_SP -p $AZURE_SP_PASSWORD --tenant $AZURE_SP_TENANT
|
- az login --service-principal -u $AZURE_SP -p $AZURE_SP_PASSWORD --tenant $AZURE_SP_TENANT
|
||||||
- func azure functionapp publish $FUNCTION_APP_NAME --python
|
- func azure functionapp publish $FUNCTION_APP_NAME --python
|
||||||
|
Loading…
Reference in New Issue
Block a user