Update language order to en,es,ja,pt,zh,ru,fr,ko,de (#54847)
This commit is contained in:
4
.github/workflows/index-general-search.yml
vendored
4
.github/workflows/index-general-search.yml
vendored
@@ -13,7 +13,7 @@ on:
|
||||
required: false
|
||||
default: ''
|
||||
languages:
|
||||
description: "Comma separated languages. E.g. 'en,zh,es,pt,ru,ja,fr,de,ko' (defaults to all)"
|
||||
description: "Comma separated languages. E.g. 'en,es,ja,pt,zh,ru,fr,ko,de' (defaults to all)"
|
||||
required: false
|
||||
default: ''
|
||||
schedule:
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
script: |
|
||||
// Edit this list for the definitive list of languages
|
||||
// (other than English) we want to index in Elasticsearch.
|
||||
const allNonEnglish = ["zh", "es", "pt", "ru", "ja", "fr", "de", "ko"]
|
||||
const allNonEnglish = 'es,ja,pt,zh,ru,fr,ko,de'.split(',')
|
||||
const allPossible = ["en", ...allNonEnglish]
|
||||
|
||||
if (context.eventName === "workflow_run") {
|
||||
|
||||
2
.github/workflows/purge-fastly.yml
vendored
2
.github/workflows/purge-fastly.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
languages:
|
||||
description: "Comma separated languages. E.g. 'en,zh,es,pt,ru,ja,fr,de,ko' (defaults to en)"
|
||||
description: "Comma separated languages. E.g. 'en,es,ja,pt,zh,ru,fr,ko,de' (defaults to en)"
|
||||
required: false
|
||||
default: 'en' # Temporary, only purge English on deploy. Set to empty string for all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user