Skip to content

Commit

Permalink
with(param): remove shell for azure/cli@v1
Browse files Browse the repository at this point in the history
  • Loading branch information
autocloudarc committed Jan 9, 2024
1 parent db44469 commit 66209d0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions exercises-dev/.github/workflows/deploy-az-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ jobs:
az account show
az account set --subscription -s ${{ secrets.AZURE_SUBSCRIPTION_ID }}
az stack sub create --name ${{ env.stackname }} --location ${{ env.location }} --template-file ${{ env.templateFile }} --parameters ${{ env.templateParamFile }} --deny-settings-mode none --delete-all --yes --verbose
shell: bash
if: ${{ env.deploy == 'true' }}

- name: rollback
Expand All @@ -100,7 +99,6 @@ jobs:
az account show
az account set --subscription -s ${{ secrets.AZURE_SUBSCRIPTION_ID }}
az stack sub delete --name ${{ env.stackname }} --location ${{ env.location }} --yes --verbose
shell: bash
if: ${{ env.rollback == 'true' }}

- name: deployTemplateSpec
Expand All @@ -115,5 +113,4 @@ jobs:
sleep 20
id=$(az ts show --name ${{ env.templateSpecName }} --resource-group ${{ env.rgpIacName }} --version ${{ env.templateSpecVersion }} --query 'id')
az deployment group create --resource-group ${{ env.rgpIacName }} --template-spec $id --parameters ${{ env.templateSpecParamFile }} --verbose
shell: bash
if: ${{ env.deployTemplateSpec == 'true' }}

0 comments on commit 66209d0

Please sign in to comment.