Skip to content

x-actions/hugo

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo Build Action

A Github Action to build hugo 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"