actions-marketplace-validations/Hugo to GH Pages
GitHub Action for Building a Hugo Site and Pushing it to Github Pages
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 8, 2022
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/chabad360_hugo-gh-pages@e9fa2e522f33729260a177103c97bf3f8ca061c1 # no releases — HEAD as of 2026-07-15tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| githubToken | A Github Personal Access Token with Repo permissions | yes | — |
| cname | The custom domain name for your GH Pages Site | no | — |
| branch | The branch to push the built site to | no | gh-pages |
| repo | The repo to push the built site to | no | — |
| hugoVersion | The version of hugo to use | no | — |
| args | Arguments to pass to Hugo | no | --gc --minify --cleanDestinationDir |
| siteDir | Directory for Hugo Site (if it's not the root of the repo) | no | — |
Outputs
no outputs