Skip to content

Commit 49751f5

Browse files
added post deployment script in azure_custom.yaml
1 parent 304af60 commit 49751f5

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

azure_custom.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,25 @@ services:
3838
shell: sh
3939
run: bash ../../infra/scripts/package_frontend.sh
4040
interactive: true
41-
continueOnError: false
41+
continueOnError: false
42+
43+
hooks:
44+
postprovision:
45+
windows:
46+
run: |
47+
Write-Host "To upload Team Configurations to Cosmos. Run the following command in PowerShell:"
48+
Write-Host "infra\scripts\Upload-Team-Config.ps1" -ForegroundColor Cyan
49+
Write-Host ""
50+
Write-Host "To index Sample Data into Azure Search. Run the following command in PowerShell:"
51+
Write-Host "infra\scripts\Process-Sample-Data.ps1" -ForegroundColor Cyan
52+
shell: pwsh
53+
interactive: true
54+
posix:
55+
run: |
56+
echo "To upload Team Configurations to Cosmos. Run the following command in Bash:"
57+
echo "bash infra/scripts/upload_team_config.sh"
58+
echo ""
59+
echo "To index Sample Data into Azure Search. Run the following command in Bash:"
60+
echo "bash infra/scripts/process_sample_data.sh"
61+
shell: sh
62+
interactive: true

0 commit comments

Comments
 (0)