mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-10-31 11:36:36 +00:00 
			
		
		
		
	feat!: Add blog back to main repository (#2704)
Signed-off-by: kimg45 <138676274+kimg45@users.noreply.github.com> Signed-off-by: blacklight447 <niek@privacyguides.org> Signed-off-by: redoomed1 <161974310+redoomed1@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										17
									
								
								.github/workflows/build-pr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/build-pr.yml
									
									
									
									
										vendored
									
									
								
							| @@ -87,12 +87,23 @@ jobs: | ||||
|       privileged: ${{ fromJSON(needs.metadata.outputs.privileged) }} | ||||
|       strict: true | ||||
|  | ||||
|   build_blog: | ||||
|     if: ${{ contains(github.event.pull_request.labels.*.name, 'ci:build blog') }} | ||||
|     needs: [submodule, metadata] | ||||
|     uses: ./.github/workflows/build-blog.yml | ||||
|     with: | ||||
|       ref: ${{github.event.pull_request.head.ref}} | ||||
|       repo: ${{github.event.pull_request.head.repo.full_name}} | ||||
|       continue-on-error: true | ||||
|       privileged: ${{ fromJSON(needs.metadata.outputs.privileged) }} | ||||
|  | ||||
|   combine_build: | ||||
|     needs: [build_english, build_i18n] | ||||
|     needs: [build_english, build_i18n, build_blog] | ||||
|     if: | | ||||
|       (always() && !cancelled() && !failure()) && | ||||
|       needs.build_english.result == 'success' && | ||||
|       (needs.build_i18n.result == 'success' || needs.build_i18n.result == 'skipped') | ||||
|       (needs.build_i18n.result == 'success' || needs.build_i18n.result == 'skipped') && | ||||
|       (needs.build_blog.result == 'success' || needs.build_blog.result == 'skipped') | ||||
|  | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
| @@ -114,5 +125,5 @@ jobs: | ||||
|  | ||||
|   cleanup: | ||||
|     if: ${{ always() }} | ||||
|     needs: [build_english, build_i18n] | ||||
|     needs: [build_english, build_i18n, build_blog] | ||||
|     uses: privacyguides/.github/.github/workflows/cleanup.yml@main | ||||
|   | ||||
		Reference in New Issue
	
	Block a user