Skip to content

Commit

Permalink
scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vhvb1989 committed Nov 26, 2023
1 parent 7994a3f commit 2ccc2c7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ hooks:
posix:
run: scripts/preprovision.sh
interactive: true
windows:
run: scripts/preprovision.ps1
interactive: true

8 changes: 8 additions & 0 deletions scripts/preprovision.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Write-Host ""
Write-Host "------------- NOTE -------------"
Write-Host "azd provision and azd up are not allowed for this project."
Write-Host "Infrastructure is defined in https://github.com/Azure/GPT-RAG."
Write-Host "After deploying infrastructure, run azd env refresh with the same environment name, subscription and location."
Write-Host "Then run azd deploy"

exit 1

0 comments on commit 2ccc2c7

Please sign in to comment.