Skip to content

Commit 593f41c

Browse files
authored
Merge pull request #14917 from github/repo-sync
repo sync
2 parents 32feca0 + 959688b commit 593f41c

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.github/workflows/prod-build-deploy-azure.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,12 @@ jobs:
135135
run: |
136136
az webapp deployment slot swap --slot preview --target-slot production -n ghdocs-prod -g docs-prod
137137
138-
# TODO - enable this when we disable the other production deploy
139-
# - name: Purge Fastly edge cache
140-
# env:
141-
# FASTLY_TOKEN: ${{ secrets.FASTLY_TOKEN }}
142-
# FASTLY_SERVICE_ID: ${{ secrets.FASTLY_SERVICE_ID }}
143-
# FASTLY_SURROGATE_KEY: 'every-deployment'
144-
# run: npm install got && .github/actions-scripts/purge-fastly-edge-cache.js
138+
- name: Purge Fastly edge cache
139+
env:
140+
FASTLY_TOKEN: ${{ secrets.FASTLY_TOKEN }}
141+
FASTLY_SERVICE_ID: ${{ secrets.FASTLY_SERVICE_ID }}
142+
FASTLY_SURROGATE_KEY: 'every-deployment'
143+
run: npm install got && .github/actions-scripts/purge-fastly-edge-cache.js
145144

146145
- name: Send Slack notification if workflow failed
147146
uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340

.github/workflows/prod-build-deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,12 @@ jobs:
182182
})
183183
console.log('⏲️ Deployment status: error - The deployment timed out...')
184184
185-
- name: Purge Fastly edge cache
186-
env:
187-
FASTLY_TOKEN: ${{ secrets.FASTLY_TOKEN }}
188-
FASTLY_SERVICE_ID: ${{ secrets.FASTLY_SERVICE_ID }}
189-
FASTLY_SURROGATE_KEY: 'every-deployment'
190-
run: .github/actions-scripts/purge-fastly-edge-cache.js
185+
# - name: Purge Fastly edge cache
186+
# env:
187+
# FASTLY_TOKEN: ${{ secrets.FASTLY_TOKEN }}
188+
# FASTLY_SERVICE_ID: ${{ secrets.FASTLY_SERVICE_ID }}
189+
# FASTLY_SURROGATE_KEY: 'every-deployment'
190+
# run: .github/actions-scripts/purge-fastly-edge-cache.js
191191

192192
- name: Send Slack notification if workflow failed
193193
uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340

0 commit comments

Comments
 (0)