We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 737cba3 commit 0f60606Copy full SHA for 0f60606
.github/workflows/az_fnapp_deploy.yml
@@ -8,7 +8,7 @@ jobs:
8
name: "Azure: Build & Deploy Function App"
9
runs-on: [self-hosted, "${{ github.event.pull_request.base.ref }}"]
10
environment: ${{ github.event.pull_request.base.ref }}
11
- if: ${{ vars.TF_DESTROY != '-destroy' }}
+ if: ${{ vars.TF_DESTROY != '-destroy' && github.event.pull_request.merged }}
12
env:
13
AZURE_FUNCTIONAPP_NAME: ${{ vars.AZURE_FUNCTIONAPP_NAME }}
14
AZURE_FUNCTIONAPP_PACKAGE_PATH: ${{ vars.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
0 commit comments