Skip to content

Commit 54e0435

Browse files
Update WAF deployment workflow for new branch and version
1 parent 7169d8c commit 54e0435

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/deploy-waf.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Validate WAF Deployment
1+
name: Validate WAF Deployment v2
22

33
on:
44
push:
55
branches:
6-
- main
6+
- macae-v2
77
schedule:
88
- cron: "0 11,23 * * *" # Runs at 11:00 AM and 11:00 PM GMT
99

@@ -105,9 +105,6 @@ jobs:
105105
id: deploy
106106
run: |
107107
set -e
108-
# Generate current timestamp in desired format: YYYY-MM-DDTHH:MM:SS.SSSSSSSZ
109-
current_date=$(date -u +"%Y-%m-%dT%H:%M:%S.%7NZ")
110-
111108
az deployment group create \
112109
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
113110
--template-file infra/main.bicep \
@@ -121,7 +118,6 @@ jobs:
121118
enablePrivateNetworking=true \
122119
enableScalability=true \
123120
createdBy="Pipeline" \
124-
tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}"
125121
126122
127123
- name: Send Notification on Failure

0 commit comments

Comments
 (0)