Moved deploy scripts out to shell script (#13)
This commit is contained in:
Родитель
a55cd58910
Коммит
c50efeec07
|
@ -0,0 +1 @@
|
|||
env
|
|
@ -18,9 +18,7 @@ matrix:
|
|||
script: skip
|
||||
deploy:
|
||||
- provider: script
|
||||
script:
|
||||
- az login --service-principal --username "$AZ_SP_ID" --password "$AZ_SP_SECRET" --tenant "$AZ_TENANT_ID"
|
||||
- az account get-access-token --query "accessToken" | func azure functionapp publish $AZ_FUNCTIONS_APP_NAME --build-native-deps --force
|
||||
script: bash deployment/deploy.sh
|
||||
on:
|
||||
branch: master
|
||||
- language: python
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
az login --service-principal --username "$APP_ID" --password "$AZ_SP_SECRET" --tenant "$AZ_TENANT_ID"
|
||||
az account get-access-token --query "accessToken"
|
||||
func azure functionapp publish $AZ_FUNCTIONS_APP_NAME --build-native-deps --force
|
Загрузка…
Ссылка в новой задаче