https://github.com/x-actions/hugo
Github Action for Build Hugo site
https://github.com/x-actions/hugo
actions hugo hugo-actions
Last synced: 6 months ago
JSON representation
Github Action for Build Hugo site
- Host: GitHub
- URL: https://github.com/x-actions/hugo
- Owner: x-actions
- License: apache-2.0
- Created: 2020-01-11T04:32:58.000Z (over 6 years ago)
- Default Branch: release/v1
- Last Pushed: 2025-09-14T04:54:19.000Z (9 months ago)
- Last Synced: 2026-01-02T18:25:13.315Z (6 months ago)
- Topics: actions, hugo, hugo-actions
- Language: Dockerfile
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hugo Build Action
A Github Action to build [`hugo`](https://gohugo.io/) static sites.
## Environment Variables
- GITHUB_EMAIL: git use email
- GITHUB_USERNAME: git use username
- HUGO_ARGS: hugo build args
## How to Use
```
- name: Hugo Build Action
uses: x-actions/hugo@release/v1
env:
GITHUB_EMAIL: "me@xiexianbin.cn"
GITHUB_USERNAME: "xiexianbin"
HUGO_ARGS: "--config config.yaml"
```