{"id":27182768,"url":"https://github.com/kristoff-it/setup-zine","last_synced_at":"2025-04-09T15:16:54.916Z","repository":{"id":285612900,"uuid":"958732878","full_name":"kristoff-it/setup-zine","owner":"kristoff-it","description":"GitHub Action to get the Zine static site generator","archived":false,"fork":false,"pushed_at":"2025-04-08T18:36:18.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T15:16:51.864Z","etag":null,"topics":["blog","ssg","zig"],"latest_commit_sha":null,"homepage":"https://zine-ssg.io","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kristoff-it.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-01T17:12:05.000Z","updated_at":"2025-04-08T18:36:21.000Z","dependencies_parsed_at":"2025-04-01T18:47:28.075Z","dependency_job_id":null,"html_url":"https://github.com/kristoff-it/setup-zine","commit_stats":null,"previous_names":["kristoff-it/setup-zine"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoff-it%2Fsetup-zine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoff-it%2Fsetup-zine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoff-it%2Fsetup-zine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kristoff-it%2Fsetup-zine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kristoff-it","download_url":"https://codeload.github.com/kristoff-it/setup-zine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055271,"owners_count":21040157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","ssg","zig"],"created_at":"2025-04-09T15:16:54.315Z","updated_at":"2025-04-09T15:16:54.878Z","avatar_url":"https://github.com/kristoff-it.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# setup-zine\nGitHub Action to get the [Zine static site generator](https://zine-ssg.io).\n\n\n# Usage\n\nIn your GitHub Actions workflow file add a step like this:\n\n```yaml\n- name: Setup Zine\n  uses: kristoff-it/setup-zine@v1\n  with:\n    version: v0.10.0\n```\n\nThe `version` field is mandatory and must be `v0.10.0` or higher (previous\nversions of Zine have no artifacts associated).\n\nThe action will make `zine` available in PATH, after that it's up to you to run `zine release`.\n\nIf you are using Zine in conjunction with Zig (i.e. you integrate Zine in your\n`build.zig`) then using  this action will allow you to avoid building Zine from\nsource by setting `.zine = .system` in `build.zig`.\n\nThat said, be aware that `mlugg/setup-zig` will save your Zig cache dir and so\nbuilding Zine will also be cached. The upside of using this action anyway is\nthat it will save you from \"slow startups\" when your cache expires.\n\n# Full GitHub Pages workflow example.\n\n```yaml\nname: Deploy the website to Github Pages\n\non:\n  # Runs on pushes targeting the default branch\n  push:\n    branches: [\"main\"]\n\n# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages\npermissions:\n  contents: read\n  pages: write\n  id-token: write\n\n# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.\n# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.\nconcurrency:\n  group: \"pages\"\n  cancel-in-progress: false\n\njobs:\n  deploy:\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0  # Change if you need git info\n\n      - name: Setup Zine\n        uses: kristoff-it/setup-zine@v1\n        with:\n          version: v0.10.0-preview\n\n      - name: Release\n        run: zine release\n\n      - name: Setup Pages\n        uses: actions/configure-pages@v5\n\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v3\n        with:\n          path: 'public'\n\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v4\n```\n\nThis last example workflow will only work if you have setup GitHub Pages to deploy from GitHub Actions in your repo's settings section.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristoff-it%2Fsetup-zine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkristoff-it%2Fsetup-zine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkristoff-it%2Fsetup-zine/lists"}