mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-10-31 19:46:34 +00:00 
			
		
		
		
	Rainbow logo
This commit is contained in:
		
							
								
								
									
										26
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										26
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -26,8 +26,8 @@ on: | ||||
|       - '*' | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
|     name: Create Release | ||||
|   production: | ||||
|     name: Push release to production | ||||
|     runs-on: ubuntu-latest | ||||
|     permissions: | ||||
|       contents: write | ||||
| @@ -39,10 +39,22 @@ jobs: | ||||
|           fetch-depth: '0' | ||||
|           ssh-key: ${{ secrets.ACTIONS_SSH_KEY }} | ||||
|           submodules: 'true' | ||||
|        | ||||
|  | ||||
|       - name: Push to production branch | ||||
|         run: | | ||||
|           git push origin HEAD:production | ||||
|    | ||||
|   build: | ||||
|     name: Create release packages | ||||
|     runs-on: ubuntu-latest | ||||
|  | ||||
|     steps: | ||||
|       - name: Checkout repository | ||||
|         uses: actions/checkout@v3 | ||||
|         with: | ||||
|           fetch-depth: '0' | ||||
|           ssh-key: ${{ secrets.ACTIONS_SSH_KEY }} | ||||
|           submodules: 'true' | ||||
|        | ||||
|       - name: Pages setup | ||||
|         uses: actions/configure-pages@v3 | ||||
| @@ -102,6 +114,14 @@ jobs: | ||||
|           name: privacy_guides.zim | ||||
|           path: privacy_guides.zim | ||||
|  | ||||
|   release: | ||||
|     name: Create release notes | ||||
|     needs: build | ||||
|     runs-on: ubuntu-latest | ||||
|     permissions: | ||||
|       contents: write | ||||
|  | ||||
|     steps: | ||||
|       - name: Create release notes | ||||
|         uses: ncipollo/release-action@v1 | ||||
|         with: | ||||
|   | ||||
| @@ -4,15 +4,18 @@ definitions: | ||||
|     {%- if page.meta.cover -%} | ||||
|       theme/assets/img/cover/{{ page.meta.cover }} | ||||
|     {%- else -%} | ||||
|       {{ layout.background_image or "" }} | ||||
|       {{ layout.background_image or "theme/assets/brand/PNG/Banner/cover-progress-notext-blur.png" }} | ||||
|     {%- endif -%} | ||||
|  | ||||
|   - &background_color >- | ||||
|     {%- if page.meta.cover -%} | ||||
|       #f7f7fcaa | ||||
|     {%- else -%} | ||||
|       #FFD06F | ||||
|     {%- endif -%} | ||||
|     #f7f7fcaa | ||||
|  | ||||
|   #- &background_color >- | ||||
|   #  {%- if page.meta.cover -%} | ||||
|   #    #f7f7fcaa | ||||
|   #  {%- else -%} | ||||
|   #    #FFD06F | ||||
|   #  {%- endif -%} | ||||
|  | ||||
|   - &color >- | ||||
|     {{ layout.color or "#2d2d2d" }} | ||||
| @@ -72,11 +75,13 @@ definitions: | ||||
|     {{ page.meta.icon or "" }} | ||||
|  | ||||
|   - &logo >- | ||||
|     {%- if page.meta.cover -%} | ||||
|       theme/assets/brand/SVG/Logo/privacy-guides-logo-notext.svg | ||||
|     {%- elif config.theme.logo -%} | ||||
|       {{ config.docs_dir }}/{{ config.theme.logo }} | ||||
|     {%- endif -%} | ||||
|     theme/assets/brand/SVG/Logo/privacy-guides-logo-notext.svg | ||||
|  | ||||
|   #{%- if page.meta.cover -%} | ||||
|   #  theme/assets/brand/SVG/Logo/privacy-guides-logo-notext.svg | ||||
|   #{%- elif config.theme.logo -%} | ||||
|   #  {{ config.docs_dir }}/{{ config.theme.logo }} | ||||
|   #{%- endif -%} | ||||
|  | ||||
| # Meta tags | ||||
| tags: | ||||
|   | ||||
| @@ -61,6 +61,7 @@ repo_name: "" | ||||
| theme: | ||||
|   name: material | ||||
|   custom_dir: ../theme | ||||
|   logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg | ||||
|   favicon: assets/brand/png/favicon/favicon-32x32.png | ||||
|   icon: | ||||
|     repo: simple/github | ||||
|   | ||||
| @@ -53,6 +53,7 @@ extra: | ||||
|  | ||||
| theme: | ||||
|   language: en | ||||
|   # this logo needs to be set separately because the relative path is different | ||||
|   logo: ../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg | ||||
|   font: | ||||
|     text: Public Sans | ||||
|   | ||||
| @@ -53,7 +53,6 @@ extra: | ||||
|  | ||||
| theme: | ||||
|   language: es | ||||
|   logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg | ||||
|   font: | ||||
|     text: Public Sans | ||||
|     code: DM Mono | ||||
|   | ||||
| @@ -53,7 +53,6 @@ extra: | ||||
|  | ||||
| theme: | ||||
|   language: fr | ||||
|   logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg | ||||
|   font: | ||||
|     text: Public Sans | ||||
|     code: DM Mono | ||||
|   | ||||
| @@ -57,7 +57,6 @@ extra_css: | ||||
|  | ||||
| theme: | ||||
|   language: he | ||||
|   logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg | ||||
|   font: | ||||
|     text: Open Sans | ||||
|     code: Cousine | ||||
|   | ||||
| @@ -53,7 +53,6 @@ extra: | ||||
|  | ||||
| theme: | ||||
|   language: nl | ||||
|   logo: ../../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg | ||||
|   font: | ||||
|     text: Public Sans | ||||
|     code: DM Mono | ||||
|   | ||||
| @@ -42,6 +42,7 @@ extra: | ||||
|  | ||||
| theme: | ||||
|   language: en | ||||
|   # this logo needs to be set separately because the relative path is different | ||||
|   logo: ../theme/assets/brand/SVG/Logo/privacy-guides-logo-notext-colorbg.svg | ||||
|   font: | ||||
|     text: Public Sans | ||||
| @@ -75,6 +76,8 @@ theme: | ||||
| plugins: | ||||
|   offline: | ||||
|     enabled: true | ||||
|   social: | ||||
|     enabled: false | ||||
|  | ||||
| markdown_extensions: | ||||
|   pymdownx.snippets: | ||||
|   | ||||
 Submodule theme/assets/brand updated: 8894180936...3a142da11d
									
								
							| @@ -19,5 +19,5 @@ | ||||
|   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | ||||
|   IN THE SOFTWARE. | ||||
| #} --> | ||||
| <img src="{{ 'assets/brand/SVG/Logo/privacy-guides-logo-notext.svg#only-light' | url }}" alt="logo"> | ||||
| <img src="{{ 'assets/brand/SVG/Logo/privacy-guides-logo-notext-darkbg.svg#only-dark' | url }}" alt="logo"> | ||||
| <img src="{{ 'assets/brand/SVG/Logo/privacy-guides-rainbow-logo-notext.svg#only-light' | url }}" alt="logo"> | ||||
| <img src="{{ 'assets/brand/SVG/Logo/privacy-guides-rainbow-logo-notext-darkbg.svg#only-dark' | url }}" alt="logo"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user