Skip to content

Commit 4ce30eb

Browse files
Update deployment workflows to include 'workflow_dispatch' trigger and adjust WAF architecture parameter
1 parent 7fdb1af commit 4ce30eb

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deploy-waf.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
- psl-fix-deploymentpipeline
8+
workflow_dispatch:
79
schedule:
810
- cron: '0 11,23 * * *' # Runs at 11:00 AM and 11:00 PM GMT
911

@@ -102,6 +104,7 @@ jobs:
102104
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
103105
--template-file infra/main.bicep \
104106
--parameters \
107+
useWafAlignedArchitecture=true \
105108
aiDeploymentsLocation='${{ env.AZURE_LOCATION }}' \
106109
virtualMachineConfiguration='{"adminUsername": "adminuser", "adminPassword": "P@ssw0rd1234"}' \
107110
logAnalyticsWorkspaceConfiguration='{"existingWorkspaceResourceId": ""}'

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
- psl-fix-deploymentpipeline
8+
workflow_dispatch:
79
schedule:
810
- cron: '0 11,23 * * *' # Runs at 11:00 AM and 11:00 PM GMT
911

@@ -102,6 +104,7 @@ jobs:
102104
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
103105
--template-file infra/main.bicep \
104106
--parameters \
107+
useWafAlignedArchitecture=false \
105108
aiDeploymentsLocation='${{ env.AZURE_LOCATION }}' \
106109
logAnalyticsWorkspaceConfiguration='{"dataRetentionInDays": 30, "existingWorkspaceResourceId": ""}' \
107110
applicationInsightsConfiguration='{"retentionInDays": 30}' \

0 commit comments

Comments
 (0)