Skip to content

Commit

Permalink
Add scope parameter to preview job in workflow.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
nenad0707 committed Mar 18, 2024
1 parent 788d15c commit a20e47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ jobs:
- uses: azure/arm-deploy@v1
name: Run what-if
with:
scope: resourcegroup
failOnStdErr: false
resourceGroupName: ${{ env.AZURE_RESOURCEGROUP_NAME }}
template: main.bicep
parameters: main.parameters.json
additionalArguments: --what-if
scope: ${{ env.AZURE_RESOURCEGROUP_NAME }}
deploy:
runs-on: ubuntu-latest
environment: Azure
Expand Down

0 comments on commit a20e47e

Please sign in to comment.