Skip to content

Commit 99da83c

Browse files
committed
Update Azure deployment workflow to use Bicep template and correct resource group configuration
1 parent dd8bf15 commit 99da83c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/azure-deploy.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ jobs:
3737
az group create --name ${{ vars.RESOURCE_GROUP_NAME }} --location ${{ vars.RESOURCE_GROUP_LOCATION }}
3838
echo "Resource Group Created"
3939
40-
- name: Deploy
41-
uses: azure/arm-deploy@v2
40+
- name: Deploy Bicep Template
41+
uses: azure/arm-deploy@v1
4242
with:
43-
scope: 'Resource Group'
44-
resourceGroupName: ${{ vars.RESOURCE_GROUP_NAME }}
45-
template: generate-url-shortene/infrastructure/main.bicep
43+
scope: resourcegroup
44+
resourceGroupName: rg-urlshortener-dev
45+
template: infrastructure/main.bicep
46+
failOnStdErr: true

0 commit comments

Comments
 (0)