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
|
script: skip
|
||||||
deploy:
|
deploy:
|
||||||
- provider: script
|
- provider: script
|
||||||
script:
|
script: bash deployment/deploy.sh
|
||||||
- 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
|
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
- language: python
|
- 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
|
Загрузка…
Ссылка в новой задаче