Skip to content

Commit

Permalink
Update azure-functions-app-dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JeevarajK authored Dec 27, 2023
1 parent a8fabe9 commit aaaaae3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/azure-functions-app-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ name: Deploy DotNet project to Azure Function App
on:
push:
branches: ["main"]
pull_request:
branches: [ "main" ]

env:
AZURE_FUNCTIONAPP_NAME: 'azure-functions-jk' # set this to your function app name on Azure
Expand Down Expand Up @@ -50,7 +52,7 @@ jobs:
shell: pwsh # For Linux, use bash
run: |
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
dotnet build --configuration Release --output ./output
dotnet build Photos/Photos.sln --configuration Release --output ./output
popd
- name: 'Run Azure Functions Action'
Expand Down

0 comments on commit aaaaae3

Please sign in to comment.