Skip to content

Commit 4b92316

Browse files
committed
Hebrew language build fix (#2464)
1 parent fc19f44 commit 4b92316

File tree

4 files changed

+32
-9
lines changed

4 files changed

+32
-9
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,21 @@ jobs:
8080

8181
- uses: actions/cache/restore@v4.0.2
8282
with:
83-
key: site-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-${{ hashfiles('.cache/**') }}
83+
key: site-cache-${{ inputs.repo }}-${{ inputs.ref }}-${{ hashfiles('.cache/**') }}
8484
path: .cache
8585
restore-keys: |
86-
site-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-
87-
site-cache-${{ inputs.repo }}-${{ inputs.lang }}-
88-
site-cache-${{ github.repository }}-${{ inputs.lang }}
86+
site-cache-${{ inputs.repo }}-${{ inputs.ref }}-
87+
site-cache-${{ inputs.repo }}-
88+
89+
- uses: actions/cache/restore@v4.0.2
90+
with:
91+
key: card-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-${{ hashfiles('config/.cache/plugin/social/manifest.json') }}
92+
path: |
93+
config/.cache/plugin/social/manifest.json
94+
config/.cache/plugin/social/assets
95+
restore-keys: |
96+
card-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-
97+
card-cache-${{ inputs.repo }}-${{ inputs.lang }}-
8998
9099
- run: |
91100
pip install pipenv
@@ -110,9 +119,16 @@ jobs:
110119
111120
- uses: actions/cache/save@v4.0.2
112121
with:
113-
key: site-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-${{ hashfiles('.cache/**') }}
122+
key: site-cache-${{ inputs.repo }}-${{ inputs.ref }}-${{ hashfiles('.cache/**') }}
114123
path: .cache
115124

125+
- uses: actions/cache/save@v4.0.2
126+
with:
127+
key: card-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-${{ hashfiles('config/.cache/plugin/social/manifest.json') }}
128+
path: |
129+
config/.cache/plugin/social/manifest.json
130+
config/.cache/plugin/social/assets
131+
116132
- uses: actions/upload-artifact@v4
117133
with:
118134
name: site-build-${{ inputs.lang }}.tar.gz

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
contents: read
5151
uses: ./.github/workflows/build.yml
5252
with:
53-
ref: ${{ github.repository }}
54-
repo: ${{ github.ref }}
53+
ref: ${{ github.ref }}
54+
repo: ${{ github.repository }}
5555
lang: ${{ matrix.lang }}
5656
context: production
5757
continue-on-error: false

config/layouts/page.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ definitions:
2626
Bagnard
2727
{%- endif -%}
2828

29+
- &title_font_style >-
30+
{%- if config.theme.language == "he" -%}
31+
Regular
32+
{%- else -%}
33+
Bold
34+
{%- endif -%}
35+
2936
- &font_family >-
3037
{%- if config.theme.language == "he" -%}
3138
Suez One
@@ -128,7 +135,7 @@ layers:
128135
height: 1.5
129136
font:
130137
family: *title_font_family
131-
style: Bold
138+
style: *title_font_style
132139

133140
# Page description
134141
- size: { width: 864, height: 96 }

0 commit comments

Comments
 (0)