File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1919
2020jobs :
2121 build_and_deploy_job :
22- if : ( github.event_name == 'push' && github.secret_source == 'Actions') || (github.event_name == 'pull_request' && github.event.action != 'closed' && github.secret_source == 'Actions' )
22+ if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
2323 runs-on : ubuntu-latest
2424 name : Build and Deploy Job
2525 steps :
@@ -38,10 +38,11 @@ jobs:
3838 dotnet build --configuration Release --output ./output
3939 popd
4040
41- - name : ' Run Azure Functions Action'
42- uses : Azure/functions-action@v1
43- id : fa
44- with :
45- app-name : ${{ env.AZURE_FUNCTIONAPP_NAME }}
46- package : ' ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output'
47- publish-profile : ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}
41+ # Uncomment if publishing app after setting up Azure credentials.
42+ # - name: 'Run Azure Functions Action'
43+ # uses: Azure/functions-action@v1
44+ # id: fa
45+ # with:
46+ # app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}
47+ # package: '${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}/output'
48+ # publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE }}
You can’t perform that action at this time.
0 commit comments