Hello @Dor Aharony
Before you deploy the function ZIP file, that funciton aopp needs to exist. So normally you'd write it like this:
# Deploy template
- name: Provision Azure Function App from Bicep
id: functiondeploy
uses: azure/arm-deploy@v1
env:
DEPLOYMENT_NAME: FunctionDeploy-${{github.run_number}}
with:
resourceGroupName: ${{ inputs.targetResourceGroup }}
template: ${{ inputs.buildOutputPath }}/bicep/main.bicep
parameters: prefix=${{ inputs.Prefix}}
deploymentMode: Incremental
deploymentName: ${{env.DEPLOYMENT_NAME}}
- name: Deploy Function App code
uses: azure/functions-action@v1.4.8
with:
app-name: ${{ steps.functiondeploy.outputs.functionName}}
package: ${{ inputs.buildOutputPath }}/build
in this case, I'd like to see the action the way the app service was deployed, since it seems there are some settings missing. Can you also check, the storage account that is needed for the function app is deployed also?