{"id":15287891,"url":"https://github.com/chabad360/hugo-actions","last_synced_at":"2025-09-09T13:39:11.626Z","repository":{"id":41972382,"uuid":"222572067","full_name":"chabad360/hugo-actions","owner":"chabad360","description":"🚀 Use Hugo with GitHub Actions 🚀","archived":false,"fork":false,"pushed_at":"2024-06-03T01:33:40.000Z","size":16,"stargazers_count":7,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T19:50:21.910Z","etag":null,"topics":["actions","hugo","workflow"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/chabad360.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":"2019-11-19T00:26:44.000Z","updated_at":"2022-10-27T04:34:55.000Z","dependencies_parsed_at":"2024-06-21T20:21:02.891Z","dependency_job_id":"7433e257-d9ff-4f9e-97a8-84dd05e99fac","html_url":"https://github.com/chabad360/hugo-actions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chabad360%2Fhugo-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chabad360%2Fhugo-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chabad360%2Fhugo-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chabad360%2Fhugo-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chabad360","download_url":"https://codeload.github.com/chabad360/hugo-actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252804657,"owners_count":21806849,"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":["actions","hugo","workflow"],"created_at":"2024-09-30T15:39:23.639Z","updated_at":"2025-05-07T03:20:38.891Z","avatar_url":"https://github.com/chabad360.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" \u003e\n  \u003cimg width=400  alt=\"Image Credit: Peaceiris\" src=\"https://raw.githubusercontent.com/peaceiris/actions-hugo/main/images/ogp.svg?sanitize=true\" /\u003e\n  \u003cp style=\"font-size:12px;\" \u003e\n    Image Credit: \u003ca href=\"https://github.com/peaceiris\"\u003ePeaceiris\u003c/a\u003e\n  \u003c/p\u003e\n  \u003ch1\u003e\n  Build Your Hugo Site in GitHub Actions\n  \u003c/h1\u003e\n  \u003ch3\u003e\n    \u003ca href=\"https://github.com/gohugoio/hugo\"\u003e\n      gohugoio/hugo: The world’s fastest framework for building websites\n    \u003c/a\u003e\n  \u003c/h3\u003e\n  \u003cspan\u003e\n    \u003ch3\u003e\n    🚀\n    \u003ca href=\"https://github.com/chabad360/hugo-actions/blob/master/LICENSE\"\u003e\n      \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/chabad360/hugo-actions.svg?style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/marketplace/actions/hugo-site\"\u003e\n      \u003cimg alt=\"Release\" src=\"https://img.shields.io/static/v1?label=\u0026style=for-the-badge\u0026logo=addthis\u0026logoColor=white\u0026message=Get+on+the+GH+Marketplace\u0026color=green\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/chabad360/hugo-actions/releases/latest\"\u003e\n      \u003cimg alt=\"Release\" src=\"https://img.shields.io/github/release/chabad360/hugo-actions.svg?style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n    🚀\n    \u003c/h3\u003e\n  \u003c/span\u003e\n\u003c/div\u003e\n\u0026nbsp;\n\nThis action builds your Hugo Site using the latest Hugo Extended.\n\nThis action also contains support for several external Hugo Helpers:\n\n| Name | Support |\n| ---- | :-----: |\n| reStructuredText |️ ✔️ |\n| Pandoc | ✔️ |\n| Asciidoctor | ✔️ |\n| PostCSS | ✔️ |\n| Pygments | ✔️ |\n| Babel | ✔️ |\n| Hugo Modules | ✔️ |\n\nIf your site requires the use of another external helper, submit an issue and I'll try to add it.\n\n## ⭐ Getting started\n\nThis is a basic `workflow.yml` to get you started (for more information scroll down to [⭐ Inputs](#-inputs)):\n\n```yaml\nname: Build Site\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Repo\n        uses: actions/checkout@master\n        with:\n          submodules: true\n      - name: Build Site\n        uses: chabad360/hugo-actions@master\n```\n\n### ⭐ Inputs\n\n| Key |  Description | Required | Default |\n| --- | ------------ | :------: | ------- |\n| `buildPath` | The path to build the site into. | ❌ | `public`|\n| `hugoVersion` | The version Hugo to use (append `extended_` to the begining to use the extended version). | ❌ | Latest Hugo Extended |\n| `args` | Arguments to pass to Hugo | ❌ | `--gc --minify --cleanDestinationDir`|\n#### Usage\n\n```yaml\n- name: Publish Site\n  uses: chabad360/hugo-actions@master\n  with:\n    buildPath: 'public'\n    # Use if you have a need to build the site to another directory\n    hugoVersion: 'extended_0.58.3'\n    # Use if your site requires a specific version of Hugo\n    # Append \"extended_\" to the begining to use Hugo Extended\n    args: --gc --minify --cleanDestinationDir\n    # Use if you want to pass some custom arguments to Hugo\n```\n\n## ⭐ Credit\n\nThis project is partially based on [mattbailey/actions-hugo](https://github.com/mattbailey/actions-hugo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchabad360%2Fhugo-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchabad360%2Fhugo-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchabad360%2Fhugo-actions/lists"}