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