mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-10-31 19:46:34 +00:00 
			
		
		
		
	Hebrew language build fix (#2464)
This commit is contained in:
		
							
								
								
									
										26
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										26
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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 | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								.github/workflows/publish-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/publish-release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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 | ||||||
|   | |||||||
| @@ -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 } | ||||||
|   | |||||||
 Submodule theme/assets/brand updated: 67166ed8b6...872a38c628
									
								
							
		Reference in New Issue
	
	Block a user