Skip to content

Commit f684ff6

Browse files
committed
ci: add env to azure dev ci
1 parent 5016f72 commit f684ff6

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/azure-dev.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
# Set this to the mainline branch you are using
77
branches:
88
- main
9-
- master
109

1110
# GitHub Actions workflow to deploy to Azure using azd
1211
# To configure required secrets for connecting to Azure, simply run `azd pipeline config`
@@ -58,6 +57,14 @@ jobs:
5857

5958
- name: Provision Infrastructure
6059
run: azd provision --no-prompt
60+
env:
61+
AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}
62+
AZURE_LOCATION: ${{ vars.AZURE_LOCATION }}
63+
AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }}
6164

6265
- name: Deploy Application
63-
run: azd deploy --no-prompt
66+
run: azd deploy --no-prompt
67+
env:
68+
AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}
69+
AZURE_LOCATION: ${{ vars.AZURE_LOCATION }}
70+
AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }}

0 commit comments

Comments
 (0)