Skip to content

Commit 75fe169

Browse files
authored
Purge en only 4 (#54831)
1 parent 8fe44f2 commit 75fe169

File tree

3 files changed

+2
-42
lines changed

3 files changed

+2
-42
lines changed

.github/workflows/index-general-search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
required: false
1414
default: ''
1515
languages:
16-
description: "Comma separated languages. E.g. 'en,ja, es' (defaults to all)"
16+
description: "Comma separated languages. E.g. 'en,zh,es,pt,ru,ja,fr,de,ko' (defaults to all)"
1717
required: false
1818
default: ''
1919
schedule:

.github/workflows/manually-purge-fastly.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/purge-fastly.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,8 @@ on:
88
deployment_status:
99
workflow_dispatch:
1010
inputs:
11-
nuke_all:
12-
description: "Nuke all 'every-deployment' keys independent of language"
13-
required: false
14-
type: boolean
15-
default: false
1611
languages:
17-
description: "Comma separated languages. E.g. 'en,ja, es' (defaults to all)"
12+
description: "Comma separated languages. E.g. 'en,zh,es,pt,ru,ja,fr,de,ko' (defaults to en)"
1813
required: false
1914
default: 'en' # Temporary, only purge English on deploy. Set to empty string for all
2015

@@ -58,12 +53,7 @@ jobs:
5853
done
5954
echo "Production is up to date with the build commit"
6055
61-
- name: Purge Fastly edge cache independent of language
62-
if: ${{ inputs.nuke_all }}
63-
run: npm run purge-fastly-edge-cache
64-
6556
- name: Purge Fastly edge cache per language
66-
if: ${{ !inputs.nuke_all }}
6757
env:
6858
LANGUAGES: ${{ inputs.languages || 'en' }} # Temporary, only purge English on deploy. Set to empty string for all
6959
run: npm run purge-fastly-edge-cache-per-language

0 commit comments

Comments
 (0)