We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd765aa commit c6f24c2Copy full SHA for c6f24c2
.github/workflows/azure-static-web-apps-backend.yml
@@ -19,7 +19,7 @@ env:
19
20
jobs:
21
build_and_deploy_job:
22
- if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
+ if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed' & github.secret_source == 'Actions' )
23
runs-on: ubuntu-latest
24
name: Build and Deploy Job
25
steps:
@@ -42,7 +42,6 @@ jobs:
42
uses: Azure/functions-action@v1
43
id: fa
44
with:
45
- if: ${{ github.secret_source == 'Actions' }}
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