Skip to content

Commit

Permalink
Merge pull request #41 from Keayoub/main
Browse files Browse the repository at this point in the history
update azd to create App Reg and SP before running
  • Loading branch information
pablomarin authored Nov 29, 2023
2 parents f414025 + 2b14f90 commit 24db742
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
name: Azure-Cognitive-Search-Azure-OpenAI-Accelerator

hooks:
preprovision:
preup:
windows:
shell: pwsh
run: ./infra/scripts/CreatePrerequisites.ps1
Expand All @@ -19,6 +19,17 @@ hooks:
run: ./infra/scripts/CreatePrerequisites.ps1
interactive: true
continueOnError: false
preprovision:
windows:
shell: pwsh
run: ./infra/scripts/CreateAppRegistration.ps1
interactive: true
continueOnError: false
posix:
shell: pwsh
run: ./infra/scripts/CreateAppRegistration.ps1
interactive: true
continueOnError: false
postprovision:
windows:
shell: pwsh
Expand Down

0 comments on commit 24db742

Please sign in to comment.