mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-10-31 19:46:34 +00:00 
			
		
		
		
	ci: Set production metadata for immediate releases
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/build-blog.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/build-blog.yml
									
									
									
									
										vendored
									
									
								
							| @@ -82,6 +82,18 @@ jobs: | |||||||
|           pip install mkdocs-material mkdocs-rss-plugin mkdocs-glightbox mkdocs-macros-plugin |           pip install mkdocs-material mkdocs-rss-plugin mkdocs-glightbox mkdocs-macros-plugin | ||||||
|           sudo apt install pngquant |           sudo apt install pngquant | ||||||
|  |  | ||||||
|  |       - name: Set base navigation URLs for production build | ||||||
|  |         if: inputs.context == 'production' | ||||||
|  |         run: | | ||||||
|  |           { | ||||||
|  |             echo "MAIN_SITE_BASE_URL=https://www.privacyguides.org/en/" | ||||||
|  |             echo "MAIN_SITE_ABOUT_URL=https://www.privacyguides.org/en/about/" | ||||||
|  |             echo "MAIN_SITE_RECOMMENDATIONS_URL=https://www.privacyguides.org/en/tools/" | ||||||
|  |             echo "MAIN_SITE_KNOWLEDGE_BASE_URL=https://www.privacyguides.org/en/basics/why-privacy-matters/" | ||||||
|  |             echo "ARTICLES_SITE_BASE_URL=https://www.privacyguides.org/articles/" | ||||||
|  |             echo "VIDEOS_SITE_BASE_URL=https://www.privacyguides.org/videos/" | ||||||
|  |           } >> "$GITHUB_ENV" | ||||||
|  |  | ||||||
|       - name: Build Website (Privileged) |       - name: Build Website (Privileged) | ||||||
|         if: inputs.privileged |         if: inputs.privileged | ||||||
|         run: | |         run: | | ||||||
|   | |||||||
							
								
								
									
										12
									
								
								.github/workflows/build-videos.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/build-videos.yml
									
									
									
									
										vendored
									
									
								
							| @@ -82,6 +82,18 @@ jobs: | |||||||
|           pip install mkdocs-material mkdocs-rss-plugin mkdocs-glightbox mkdocs-macros-plugin |           pip install mkdocs-material mkdocs-rss-plugin mkdocs-glightbox mkdocs-macros-plugin | ||||||
|           sudo apt install pngquant |           sudo apt install pngquant | ||||||
|  |  | ||||||
|  |       - name: Set base navigation URLs for production build | ||||||
|  |         if: inputs.context == 'production' | ||||||
|  |         run: | | ||||||
|  |           { | ||||||
|  |             echo "MAIN_SITE_BASE_URL=https://www.privacyguides.org/en/" | ||||||
|  |             echo "MAIN_SITE_ABOUT_URL=https://www.privacyguides.org/en/about/" | ||||||
|  |             echo "MAIN_SITE_RECOMMENDATIONS_URL=https://www.privacyguides.org/en/tools/" | ||||||
|  |             echo "MAIN_SITE_KNOWLEDGE_BASE_URL=https://www.privacyguides.org/en/basics/why-privacy-matters/" | ||||||
|  |             echo "ARTICLES_SITE_BASE_URL=https://www.privacyguides.org/articles/" | ||||||
|  |             echo "VIDEOS_SITE_BASE_URL=https://www.privacyguides.org/videos/" | ||||||
|  |           } >> "$GITHUB_ENV" | ||||||
|  |  | ||||||
|       - name: Build Website (Privileged) |       - name: Build Website (Privileged) | ||||||
|         if: inputs.privileged |         if: inputs.privileged | ||||||
|         run: | |         run: | | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/publish-immediate.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/publish-immediate.yml
									
									
									
									
										vendored
									
									
								
							| @@ -59,6 +59,7 @@ jobs: | |||||||
|       repo: ${{ github.repository }} |       repo: ${{ github.repository }} | ||||||
|       ref: ${{ github.ref }} |       ref: ${{ github.ref }} | ||||||
|       continue-on-error: false |       continue-on-error: false | ||||||
|  |       context: production | ||||||
|  |  | ||||||
|   build_videos: |   build_videos: | ||||||
|     needs: submodule |     needs: submodule | ||||||
| @@ -69,6 +70,7 @@ jobs: | |||||||
|       repo: ${{ github.repository }} |       repo: ${{ github.repository }} | ||||||
|       ref: ${{ github.ref }} |       ref: ${{ github.ref }} | ||||||
|       continue-on-error: false |       continue-on-error: false | ||||||
|  |       context: production | ||||||
|  |  | ||||||
|   deploy: |   deploy: | ||||||
|     needs: [build_blog, build_videos] |     needs: [build_blog, build_videos] | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/publish-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/publish-release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -75,6 +75,7 @@ jobs: | |||||||
|       repo: ${{ github.repository }} |       repo: ${{ github.repository }} | ||||||
|       ref: ${{ github.ref }} |       ref: ${{ github.ref }} | ||||||
|       continue-on-error: false |       continue-on-error: false | ||||||
|  |       context: production | ||||||
|  |  | ||||||
|   build_videos: |   build_videos: | ||||||
|     needs: submodule |     needs: submodule | ||||||
| @@ -85,6 +86,7 @@ jobs: | |||||||
|       repo: ${{ github.repository }} |       repo: ${{ github.repository }} | ||||||
|       ref: ${{ github.ref }} |       ref: ${{ github.ref }} | ||||||
|       continue-on-error: false |       continue-on-error: false | ||||||
|  |       context: production | ||||||
|  |  | ||||||
|   release: |   release: | ||||||
|     name: Create release notes |     name: Create release notes | ||||||
|   | |||||||
| @@ -3,6 +3,8 @@ date: | |||||||
|     created: 2025-06-10T17:00:00Z |     created: 2025-06-10T17:00:00Z | ||||||
| categories: | categories: | ||||||
|     - News |     - News | ||||||
|  | tags: | ||||||
|  |     - Pride Month | ||||||
| authors: | authors: | ||||||
|     - em |     - em | ||||||
| description: Balancing data protection and online connection can be difficult. Nevertheless, it's an essential skill to be able to stay safe online while staying connected. | description: Balancing data protection and online connection can be difficult. Nevertheless, it's an essential skill to be able to stay safe online while staying connected. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user