You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Build Hugo
v0.79.0
A GitHub Action to build Hugo site.
- Using Hugo extended version 0.79.0
- Using debian:buster-slim as the base image
name: Build Hugo
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Build Hugo
uses: lowply/build-hugo@v0.79.0
Build Hugo version is designed to match with the Hugo's version. If you'd like to use a specific version of Hugo to build your website, do it like this:
- name: Build Hugo
uses: lowply/build-hugo@v0.68.3
docker run --rm -w /tmp -v $(pwd):/tmp lowply/build-hugo:v0.79.0
Run this to create a PR:
./script/update.sh
Review the PR and make sure it passes the test. After merging the update PR, run:
./script/release.sh