Skip to content

Commit c785767

Browse files
committed
perf: skip fnapp deploy on TF_DESTROY
1 parent 12af987 commit c785767

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/az_fnapp_deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
name: "Azure: Build & Deploy Function App"
99
runs-on: [self-hosted, dev]
1010
environment: dev
11+
if: ${{ vars.TF_DESTROY != '-destroy' }}
1112
env:
1213
AZURE_FUNCTIONAPP_NAME: ${{ vars.AZURE_FUNCTIONAPP_NAME }}
1314
AZURE_FUNCTIONAPP_PACKAGE_PATH: ${{ vars.AZURE_FUNCTIONAPP_PACKAGE_PATH }}

0 commit comments

Comments
 (0)