Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,5 @@ metadata:
name: content-processinge@1.0

hooks:
postprovision:
posix:
shell: sh
run: sed -i 's/\r$//' ./infra/scripts/post_deployment.sh; bash ./infra/scripts/post_deployment.sh
interactive: true
windows:
shell: pwsh
run: ./infra/scripts/post_deployment.ps1
interactive: true
postprovision: {}
Comment thread
chaudhariniraj marked this conversation as resolved.

18 changes: 16 additions & 2 deletions docs/DeploymentGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ azd up

## Step 5: Post-Deployment Configuration

### 5.1 Run Post Deployment Script
### 5.1 Run Post Deployment Scripts
Comment thread
chaudhariniraj marked this conversation as resolved.

1. You can run the ACR build and push script from the project root. Use the appropriate command for your shell:
1. Run the ACR build and push script from the project root. Use the appropriate command for your shell:

- For Bash (Linux/macOS/WSL):

Expand All @@ -317,6 +317,20 @@ azd up
infra\scripts\acr_build_push.ps1
```

2. After the ACR build and push completes, run the post-deployment script:

- For Bash (Linux/macOS/WSL):

```bash
bash infra/scripts/post_deployment.sh
```

- For PowerShell (Windows):

```powershell
.\infra\scripts\post_deployment.ps1
```
Comment thread
chaudhariniraj marked this conversation as resolved.

### 5.2 Schema Registration (Automatic)

> Want to customize the schemas for your own documents? [Learn more about adding your own schemas here.](./CustomizeSchemaData.md)
Expand Down