Skip to content

Commit 5b486da

Browse files
Update deploy.yml
1 parent 4c4da02 commit 5b486da

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- main
77
schedule:
88
- cron: '0 5,17 * * *' # Runs at 5:00 AM and 5:00 PM GMT
9+
workflow_dispatch:
910

1011
jobs:
1112
deploy:
@@ -93,6 +94,7 @@ jobs:
9394

9495

9596
- name: Get Log Analytics Workspace and OpenAI from Resource Group
97+
if: always()
9698
id: get_azure_resources
9799
run: |
98100
@@ -125,6 +127,7 @@ jobs:
125127

126128

127129
- name: List KeyVaults and Store in Array
130+
if: always()
128131
id: list_keyvaults
129132
run: |
130133
@@ -158,6 +161,7 @@ jobs:
158161
fi
159162
160163
- name: Purge log analytics workspace
164+
if: always()
161165
id: log_analytics_workspace
162166
run: |
163167
@@ -174,7 +178,7 @@ jobs:
174178
175179

176180
- name: Delete Bicep Deployment
177-
if: success()
181+
if: always()
178182
run: |
179183
set -e
180184
echo "Checking if resource group exists..."
@@ -252,7 +256,7 @@ jobs:
252256
253257
254258
- name: Purging the Resources
255-
if: success()
259+
if: always()
256260
run: |
257261
258262
set -e

0 commit comments

Comments
 (0)