Skip to content

Commit 3f22d33

Browse files
Update RAdeploy.yml
1 parent d1b3f17 commit 3f22d33

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/RAdeploy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ name: Validate Deployment - Researcher
33
on:
44
push:
55
branches:
6-
- main
7-
paths:
8-
- 'ResearchAssistant/**'
6+
- byoc-researcher
97
schedule:
108
- cron: '0 7,19 * * *' # Runs at 7:00 AM and 7:00 PM GMT
119

@@ -26,10 +24,10 @@ jobs:
2624
export GPT_MIN_CAPACITY="30"
2725
export TEXT_EMBEDDING_MIN_CAPACITY="45"
2826
export AZURE_REGIONS="${{ vars.AZURE_REGIONS_RA }}"
29-
chmod +x ResearchAssistant/Deployment/scripts/checkquota.sh
30-
if ! ResearchAssistant/Deployment/scripts/checkquota.sh; then
27+
chmod +x infra/scripts/checkquota.sh
28+
if ! infra/scripts/checkquota.sh; then
3129
# If quota check fails due to insufficient quota, set the flag
32-
if grep -q "No region with sufficient quota found" ResearchAssistant/Deployment/scripts/checkquota.sh; then
30+
if grep -q "No region with sufficient quota found" infra/scripts/checkquota.sh; then
3331
echo "QUOTA_FAILED=true" >> $GITHUB_ENV
3432
fi
3533
exit 1 # Fail the pipeline if any other failure occurs
@@ -105,7 +103,7 @@ jobs:
105103
set -e
106104
az deployment group create \
107105
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
108-
--template-file ResearchAssistant/Deployment/bicep/main.bicep \
106+
--template-file infra/bicep/main.bicep \
109107
--parameters solutionPrefix=${{ env.SOLUTION_PREFIX }}
110108
- name: List KeyVaults and Store in Array
111109
id: list_keyvaults
@@ -281,4 +279,4 @@ jobs:
281279
# Send the notification
282280
curl -X POST "${{ secrets.LOGIC_APP_URL }}" \
283281
-H "Content-Type: application/json" \
284-
-d "$EMAIL_BODY" || echo "Failed to send notification"
282+
-d "$EMAIL_BODY" || echo "Failed to send notification"

0 commit comments

Comments
 (0)