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 10
10
AZURE_FUNCTIONAPP_PACKAGE_PATH : ' .'
11
11
PYTHON_VERSION : ' 3.11'
12
12
STORAGE_ACCOUNT_NAME : ' hvalfangststorageaccount'
13
+ FUNCTION_APP_NAME : ' hvalfangstlinuxfunctionapp'
14
+ RESOURCE_GROUP : ' hvalfangstresourcegroup'
13
15
14
16
jobs :
15
17
build-function :
@@ -64,15 +66,15 @@ jobs:
64
66
tenant-id : ${{ secrets.AZURE_TENANT_ID }}
65
67
subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
66
68
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
70
71
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
76
78
77
79
build-react :
78
80
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments