Skip to content

Commit 2215e14

Browse files
authored
Update azure-static-web-apps-backend.yml
Commenting out publish to Azure Functions
1 parent ef7c34d commit 2215e14

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/azure-static-web-apps-backend.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
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 }}

0 commit comments

Comments
 (0)