Skip to content

Commit

Permalink
Merge pull request #279 from vhvb1989/patch-1
Browse files Browse the repository at this point in the history
Update azure-dev.yml with no state flag for provision
  • Loading branch information
YusakuNo1 authored Nov 19, 2024
2 parents d31eb2d + 8059728 commit 9a0c699
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/azure-dev-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Upgrade bicep
run: |
which bicep
sudo curl -o $(which bicep) -L https://github.com/Azure/bicep/releases/download/v0.31.92/bicep-linux-x64
sudo chmod +x $(which bicep)
- name: Build Bicep for linting
uses: azure/CLI@v1
with:
inlineScript: az config set bicep.use_binary_from_path=false && az bicep build -f infra/main.bicep --stdout
inlineScript: bicep build -f infra/main.bicep --stdout

- name: Run PSRule analysis
uses: microsoft/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
tenant-id: ${{ env.AZURE_TENANT_ID }}
subscription-id: ${{ env.AZURE_SUBSCRIPTION_ID }}
- name: Provision Infrastructure
run: azd provision --no-prompt
run: azd provision --no-prompt --no-state
env:
AZD_INITIAL_ENVIRONMENT_CONFIG: ${{ secrets.AZD_INITIAL_ENVIRONMENT_CONFIG }}
AZURE_SERVER_APP_SECRET: ${{ secrets.AZURE_SERVER_APP_SECRET }}
Expand Down

0 comments on commit 9a0c699

Please sign in to comment.