File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1010 AZURE_FUNCTIONAPP_PACKAGE_PATH : ' .'
1111 PYTHON_VERSION : ' 3.11'
1212 STORAGE_ACCOUNT_NAME : ' hvalfangststorageaccount'
13+ FUNCTION_APP_NAME : ' hvalfangstlinuxfunctionapp'
14+ RESOURCE_GROUP : ' hvalfangstresourcegroup'
1315
1416jobs :
1517 build-function :
@@ -64,15 +66,15 @@ jobs:
6466 tenant-id : ${{ secrets.AZURE_TENANT_ID }}
6567 subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
6668
67- - name : Deploy to Azure Functions
68- uses : Azure/functions-action@v1
69- id : deploy-to-function
69+ - name : Deploy to Azure Functions using CLI
70+ uses : azure/CLI@v1
7071 with :
71- app-name : ' hvalfangstlinuxfunctionapp'
72- slot-name : ' Production'
73- package : ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
74- scm-do-build-during-deployment : true
75- enable-oryx-build : true
72+ azcliversion : latest
73+ inlineScript : |
74+ az functionapp deployment source config-zip \
75+ --resource-group hvalfangstresourcegroup \
76+ --name hvalfangstlinuxfunctionapp \
77+ --src release.zip
7678
7779 build-react :
7880 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments