Skip to content

Commit 4a4895e

Browse files
authored
don't throw on missing data tags in search sync (github#26487)
1 parent f54a2c3 commit 4a4895e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/sync-search-indices.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ jobs:
7777
env:
7878
VERSION: ${{ github.event.inputs.version }}
7979
LANGUAGE: ${{ github.event.inputs.language }}
80+
# If a reusable, or anything in the `data/*` directory is deleted
81+
# you might get a
82+
#
83+
# RenderError: Can't find the key 'site.data.reusables...' in the scope
84+
#
85+
# But that'll get fixed in the next translation pipeline. For now,
86+
# let's just accept an empty string instead.
87+
THROW_ON_EMPTY: false
8088
run: npm run sync-search
8189

8290
- name: Update private docs repository search indexes

0 commit comments

Comments
 (0)