File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,12 +11,5 @@ metadata:
1111 name : content-processinge@1.0
1212
1313hooks :
14- postprovision :
15- posix :
16- shell : sh
17- run : sed -i 's/\r$//' ./infra/scripts/post_deployment.sh; bash ./infra/scripts/post_deployment.sh
18- interactive : true
19- windows :
20- shell : pwsh
21- run : ./infra/scripts/post_deployment.ps1
22- interactive : true
14+ postprovision : {}
15+
Original file line number Diff line number Diff line change @@ -301,9 +301,9 @@ azd up
301301
302302# # Step 5: Post-Deployment Configuration
303303
304- # ## 5.1 Run Post Deployment Script
304+ # ## 5.1 Run Post Deployment Scripts
305305
306- 1. You can run the ACR build and push script from the project root. Use the appropriate command for your shell:
306+ 1. Run the ACR build and push script from the project root. Use the appropriate command for your shell:
307307
308308 - For Bash (Linux/macOS/WSL):
309309
@@ -317,6 +317,20 @@ azd up
317317 infra\s cripts\a cr_build_push.ps1
318318 ` ` `
319319
320+ 2. After the ACR build and push completes, run the post-deployment script:
321+
322+ - For Bash (Linux/macOS/WSL):
323+
324+ ` ` ` bash
325+ bash infra/scripts/post_deployment.sh
326+ ` ` `
327+
328+ - For PowerShell (Windows):
329+
330+ ` ` ` powershell
331+ .\i nfra\s cripts\p ost_deployment.ps1
332+ ` ` `
333+
320334# ## 5.2 Schema Registration (Automatic)
321335
322336 > Want to customize the schemas for your own documents? [Learn more about adding your own schemas here.](./CustomizeSchemaData.md)
You can’t perform that action at this time.
0 commit comments