Skip to content

Commit

Permalink
Refactor storage account deployment workflow in deployBicepFile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
crlsocro committed Sep 16, 2024
1 parent 6cb344b commit 004dd59
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Deploy Bicep file
uses: azure/arm-deploy@v1
with:
subscriptionId: ${{ secrets.AZURE_SUBSCRIPTION }}
resourceGroupName: ${{ secrets.AZURE_RG }}
template: ./main.bicep
parameters: 'storagePrefix=mystore storageSKU=Standard_LRS'
failOnStdErr: false
uses: azure/cli@v2
azcliversion: latest
inlineScript: |
az deployment group create --resource-group ${{ secrets.AZURE_RG }} \
--template-file ../infra/main.bicep \
--parameters ../infra/main.parameters.json

0 comments on commit 004dd59

Please sign in to comment.