Skip to content

Commit f9a53f3

Browse files
committed
Update Azure deployment workflow to use 'resource-group' scope and dynamic resource group name
1 parent 7f5fd67 commit f9a53f3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
- name: Deploy Bicep Template
3838
uses: azure/arm-deploy@v2
3939
with:
40-
scope: resourcegroup
41-
resourceGroupName: rg-urlshortener-dev
42-
template: ./infrastructure/main.bicep
40+
scope: resource-group
41+
resourceGroupName: ${{ vars.RESOURCE_GROUP_NAME }}
42+
template: generate-url-shortene/infrastructure/main.bicep
43+

0 commit comments

Comments
 (0)