Hebrew language build fix (#2464)

This commit is contained in:
Jonah Aragon 2024-03-31 00:05:38 -05:00
parent fc19f44c18
commit 4b92316774
No known key found for this signature in database
4 changed files with 32 additions and 9 deletions

View File

@ -80,12 +80,21 @@ jobs:
- uses: actions/cache/restore@v4.0.2 - uses: actions/cache/restore@v4.0.2
with: with:
key: site-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-${{ hashfiles('.cache/**') }} key: site-cache-${{ inputs.repo }}-${{ inputs.ref }}-${{ hashfiles('.cache/**') }}
path: .cache path: .cache
restore-keys: | restore-keys: |
site-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}- site-cache-${{ inputs.repo }}-${{ inputs.ref }}-
site-cache-${{ inputs.repo }}-${{ inputs.lang }}- site-cache-${{ inputs.repo }}-
site-cache-${{ github.repository }}-${{ inputs.lang }}
- uses: actions/cache/restore@v4.0.2
with:
key: card-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-${{ hashfiles('config/.cache/plugin/social/manifest.json') }}
path: |
config/.cache/plugin/social/manifest.json
config/.cache/plugin/social/assets
restore-keys: |
card-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-
card-cache-${{ inputs.repo }}-${{ inputs.lang }}-
- run: | - run: |
pip install pipenv pip install pipenv
@ -110,9 +119,16 @@ jobs:
- uses: actions/cache/save@v4.0.2 - uses: actions/cache/save@v4.0.2
with: with:
key: site-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-${{ hashfiles('.cache/**') }} key: site-cache-${{ inputs.repo }}-${{ inputs.ref }}-${{ hashfiles('.cache/**') }}
path: .cache path: .cache
- uses: actions/cache/save@v4.0.2
with:
key: card-cache-${{ inputs.repo }}-${{ inputs.lang }}-${{ inputs.ref }}-${{ hashfiles('config/.cache/plugin/social/manifest.json') }}
path: |
config/.cache/plugin/social/manifest.json
config/.cache/plugin/social/assets
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: site-build-${{ inputs.lang }}.tar.gz name: site-build-${{ inputs.lang }}.tar.gz

View File

@ -50,8 +50,8 @@ jobs:
contents: read contents: read
uses: ./.github/workflows/build.yml uses: ./.github/workflows/build.yml
with: with:
ref: ${{ github.repository }} ref: ${{ github.ref }}
repo: ${{ github.ref }} repo: ${{ github.repository }}
lang: ${{ matrix.lang }} lang: ${{ matrix.lang }}
context: production context: production
continue-on-error: false continue-on-error: false

View File

@ -26,6 +26,13 @@ definitions:
Bagnard Bagnard
{%- endif -%} {%- endif -%}
- &title_font_style >-
{%- if config.theme.language == "he" -%}
Regular
{%- else -%}
Bold
{%- endif -%}
- &font_family >- - &font_family >-
{%- if config.theme.language == "he" -%} {%- if config.theme.language == "he" -%}
Suez One Suez One
@ -128,7 +135,7 @@ layers:
height: 1.5 height: 1.5
font: font:
family: *title_font_family family: *title_font_family
style: Bold style: *title_font_style
# Page description # Page description
- size: { width: 864, height: 96 } - size: { width: 864, height: 96 }

@ -1 +1 @@
Subproject commit 67166ed8b641d8ac1837d0b75329e02ed4056704 Subproject commit 872a38c628780050bb3217a8c7fea9922b059717