diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16a5e7cc..743f168d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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"