Skip to content

MayMeowHQ/Hugo-Build-Action

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

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Hugo Build Action by MayMeow

Action to build websites with Hugo

Usage

add to your workflow

- name: MayMeows Hugo build action
  uses: MayMeowHQ/Hugo-Build-Action@v2

This will run hugo --enableGitinfo. If you want to use diffrent config file you can use

- name: Run MayMeowHQ/Hugo-Build-Action@v2
    uses: MayMeowHQ/Hugo-Build-Action@v2
    with:
      production-config: './production.config.toml'
      hugo-version: '0.89.2'
      hugo-sha: '8efea63ab960a91918a4c6131d10c244635cd983e4d083afdba6c6b99edb55b6'

Code abve will run hugo --config ./production.config.toml --enableGitInfo

Draft pages are not published with this action, you have to chage draft to false for any pages you want to publish.