Skip to content

Commit 737cba3

Browse files
committed
perf: dynamically resolve env in az fnapp deploy
1 parent c785767 commit 737cba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/az_fnapp_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
jobs:
77
az-fnapp-deploy:
88
name: "Azure: Build & Deploy Function App"
9-
runs-on: [self-hosted, dev]
10-
environment: dev
9+
runs-on: [self-hosted, "${{ github.event.pull_request.base.ref }}"]
10+
environment: ${{ github.event.pull_request.base.ref }}
1111
if: ${{ vars.TF_DESTROY != '-destroy' }}
1212
env:
1313
AZURE_FUNCTIONAPP_NAME: ${{ vars.AZURE_FUNCTIONAPP_NAME }}

0 commit comments

Comments
 (0)