File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -135,13 +135,12 @@ jobs:
135
135
run : |
136
136
az webapp deployment slot swap --slot preview --target-slot production -n ghdocs-prod -g docs-prod
137
137
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
145
144
146
145
- name : Send Slack notification if workflow failed
147
146
uses : someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
Original file line number Diff line number Diff line change @@ -182,12 +182,12 @@ jobs:
182
182
})
183
183
console.log('⏲️ Deployment status: error - The deployment timed out...')
184
184
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
191
191
192
192
- name : Send Slack notification if workflow failed
193
193
uses : someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
You can’t perform that action at this time.
0 commit comments