Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
autocloudarc committed Jan 9, 2024
2 parents 174a7ab + fc355e1 commit 5b0b3a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-az-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
rgpLabName: rgp-lab
rgpIacName: rgp-iac
location: centralus
stackName: 'stack-${{ github.workflow }}'
stackName: 'stack-deploy-az-resources'
templateFile: "./exercises-dev/main-exercises-dev.bicep"
templateParamFile: "./exercises-dev/main-exercises-dev.parameters.json"
templateSpecName: tsp-rgp-iac
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
az --version
az account show
az account set --subscription ${{ 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
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
if: ${{ env.deploy == 'true' }}

- name: rollback
Expand All @@ -87,7 +87,7 @@ jobs:
az --version
az account show
az account set --subscription ${{ secrets.AZURE_SUBSCRIPTION_ID }}
az stack sub delete --name ${{ env.stackname }} --location ${{ env.location }} --yes --verbose
az stack sub delete --name ${{ env.stackName }} --location ${{ env.location }} --yes --verbose
if: ${{ env.rollback == 'true' }}

- name: deployTemplateSpec
Expand Down

0 comments on commit 5b0b3a4

Please sign in to comment.