mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-10-31 11:36:36 +00:00 
			
		
		
		
	Create Kiwix/ZIM Download
This commit is contained in:
		
							
								
								
									
										16
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -64,9 +64,23 @@ jobs: | ||||
|           name: offline.zip | ||||
|           path: offline.zip | ||||
|        | ||||
|       - name: Create ZIM File | ||||
|         uses: addnab/docker-run-action@v3 | ||||
|         with: | ||||
|           image: openzim/zim-tools:latest | ||||
|           options: -v ${{ github.workspace }}:/data | ||||
|           run: | | ||||
|             zimwriterfs -w index.html -I assets/brand/PNG/Square/pg-yellow.png -l eng -t "Privacy Guides" -d "Your central privacy and security resource to protect yourself online." -c "Privacy Guides" -p "Jonah Aragon" -n "Privacy Guides" -e "https://github.com/privacyguides/privacyguides.org" /data/site /data/privacy_guides.zim | ||||
|        | ||||
|       - name: Upload ZIM file | ||||
|         uses: actions/upload-artifact@v3 | ||||
|         with: | ||||
|           name: privacy_guides.zim | ||||
|           path: privacy_guides.zim | ||||
|  | ||||
|       - name: Create release notes | ||||
|         uses: ncipollo/release-action@v1 | ||||
|         with: | ||||
|           generateReleaseNotes: true | ||||
|           token: ${{ secrets.REPO_TOKEN }} | ||||
|           artifacts: "offline.zip,offline.tar.gz" | ||||
|           artifacts: "offline.zip,offline.tar.gz,privacy_guides.zim" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user