{"id":13474368,"url":"https://github.com/shalzz/zola-deploy-action","last_synced_at":"2026-01-29T09:17:35.862Z","repository":{"id":36328615,"uuid":"165494053","full_name":"shalzz/zola-deploy-action","owner":"shalzz","description":"Github action for building a Zola site and deploying to Github Pages","archived":false,"fork":false,"pushed_at":"2025-07-16T14:14:07.000Z","size":158,"stargazers_count":280,"open_issues_count":1,"forks_count":106,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-12T10:17:18.861Z","etag":null,"topics":["actions","github","github-actions","zola"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/shalzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"shalzz"}},"created_at":"2019-01-13T10:50:32.000Z","updated_at":"2026-01-11T02:26:27.000Z","dependencies_parsed_at":"2024-09-12T08:49:46.808Z","dependency_job_id":"eaaf3f4b-7956-4639-8688-2862cf8e1aee","html_url":"https://github.com/shalzz/zola-deploy-action","commit_stats":{"total_commits":95,"total_committers":26,"mean_commits":"3.6538461538461537","dds":"0.28421052631578947","last_synced_commit":"4abce24474fec9847b452a530e83df43950de70f"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/shalzz/zola-deploy-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shalzz%2Fzola-deploy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shalzz%2Fzola-deploy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shalzz%2Fzola-deploy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shalzz%2Fzola-deploy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shalzz","download_url":"https://codeload.github.com/shalzz/zola-deploy-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shalzz%2Fzola-deploy-action/sbom","scorecard":{"id":815486,"data":{"date":"2025-08-11","repo":{"name":"github.com/shalzz/zola-deploy-action","commit":"b992dddf113fb8a5ed34f2cb4cce94334a55f637"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":5,"reason":"Found 15/30 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":5,"reason":"2 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/shalzz/zola-deploy-action/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/shalzz/zola-deploy-action/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/shalzz/zola-deploy-action/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/shalzz/zola-deploy-action/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/shalzz/zola-deploy-action/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/shalzz/zola-deploy-action/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/shalzz/zola-deploy-action/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/shalzz/zola-deploy-action/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/shalzz/zola-deploy-action/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/shalzz/zola-deploy-action/main.yml/master?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T14:11:26.837Z","repository_id":36328615,"created_at":"2025-08-23T14:11:26.837Z","updated_at":"2025-08-23T14:11:26.837Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["actions","github","github-actions","zola"],"created_at":"2024-07-31T16:01:11.854Z","updated_at":"2026-01-29T09:17:35.855Z","avatar_url":"https://github.com/shalzz.png","language":"HTML","funding_links":["https://github.com/sponsors/shalzz","https://www.buymeacoffee.com/shaleen","https://img.buymeacoffee.com/button-api/?text=Buy"],"categories":["Community Resources","HTML","Uncategorized"],"sub_categories":["GitHub Pages","Uncategorized"],"readme":"# Zola Deploy Action\n\n[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fshalzz%2Fzola-deploy-action%2Fbadge\u0026style=flat)](https://actions-badge.atrox.dev/shalzz/zola-deploy-action/goto)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/shalzz/zola-deploy-action?sort=semver)\n\nA GitHub action to automatically build and deploy your [zola] site to the master\nbranch as GitHub Pages.\n\n## Table of Contents\n\n - [Usage](#usage)\n - [Environment Variables](#environment-variables)\n - [Custom Domain](#custom-domain)\n\n## Usage\n\nIn your repository **Settings \u003e Actions \u003e General**, in Workflow permissions, make sure that `GITHUB_TOKEN` has **Read and Write permissions**.\n\nThis example will build and deploy to gh-pages on push to the main branch.\n\n```yml\nname: Zola on GitHub Pages\n\non: \n push:\n  branches:\n   - main\n\njobs:\n  build:\n    name: Publish site\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout main\n      uses: actions/checkout@v4\n    - name: Build and deploy\n      uses: shalzz/zola-deploy-action@v0.22.1\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\nThe action's version tags follow the version of Zola that should be used to build.\nTo use Zola v0.21.0 for instance, specify `shalzz/zola-deploy-action@v0.21.0`.\n\nThis example will build and deploy to gh-pages branch on a push to the main branch, \nand it will build only on pull requests.\n```yml\nname: Zola on GitHub Pages\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    if: github.ref != 'refs/heads/main'\n    steps:\n      - name: Checkout main\n        uses: actions/checkout@v4\n      - name: Build only\n        uses: shalzz/zola-deploy-action@v0.22.1\n        env:\n          BUILD_DIR: docs\n          BUILD_ONLY: true\n          BUILD_FLAGS: --drafts\n          # A GitHub token is not necessary when BUILD_ONLY is true\n          # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n  build_and_deploy:\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/main'\n    steps:\n      - name: Checkout main\n        uses: actions/checkout@v4\n      - name: Build and deploy\n        uses: shalzz/zola-deploy-action@v0.22.1\n        env:\n          BUILD_DIR: docs\n          PAGES_BRANCH: gh-pages\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Environment Variables\n* `PAGES_BRANCH`: The git branch of your repo to which the built static files will be pushed. Default is `gh-pages` branch\n* `REPOSITORY`: The target repository to push to. Default is `GITHUB_REPOSITORY`(current repository). Set this variable if you want to deploy to other repo.\n* `BUILD_DIR`: The path from the root of the repo where we should run the `zola build` command. Default is `.` (current directory)\n* `OUT_DIR`: The build output directory of `zola build`. Default is `public`\n* `BUILD_FLAGS`: Custom build flags that you want to pass to zola while building. (Be careful supplying a different build output directory might break the action).\n* `BUILD_ONLY`: Set to value `true` if you don't want to deploy after `zola build`.\n* `BUILD_THEMES`: Set to false to disable fetching themes submodules. Default `true`.\n* `CHECK_LINKS`: Set to `true` to check links with `zola check`.\n* `CHECK_FLAGS`: Custom check flags that you want to pass to `zola check`.\n* `GITHUB_HOSTNAME`: The Github hostname to use in your action. This is to account for Enterprise instances where the base URL differs from the default, which is `github.com`.\n\n\n## Custom Domain\n\nIf you're using a custom domain for your GitHub Pages site put the CNAME \nin `static/CNAME` so that zola puts it in the root of the public folder\nwhich is where GitHub expects it to be.\n\n[zola]: https://github.com/getzola/zola\n\n##\n\nThanks and enjoy your day!\n\n\u003ca href=\"https://www.buymeacoffee.com/shaleen\"\u003e\u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a Beer\u0026emoji=🍺\u0026slug=shaleen\u0026button_colour=40DCA5\u0026font_colour=ffffff\u0026font_family=Bree\u0026outline_colour=000000\u0026coffee_colour=FFDD00\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshalzz%2Fzola-deploy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshalzz%2Fzola-deploy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshalzz%2Fzola-deploy-action/lists"}