Skip to content
use github action with hugo
Shell HCL
Branch: master
Clone or download
Latest commit 1d860a3 Jan 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update main.workflow Jan 14, 2019
.gitattributes add actions Jan 14, 2019
.gitignore Initial commit Jan 14, 2019
LICENSE Initial commit Jan 14, 2019
README.md update readme Jan 14, 2019
dockerfile update docker file Jan 14, 2019
entrypoint.sh add actions Jan 14, 2019

README.md

hugo-action

use github action with hugo

Defaults

  1. You run this actions in your blog source file repository
  2. Your blog is placed in youname.github.io

use

add .github/main.workflow in repo

workflow "blog ci/cd" {
  on = "push"
  resolves = ["hugo"]
}

action "hugo" {
  uses = "docker://mohuishou/hugo-action:0.53"
  secrets = ["TOKEN"]
}

env

Key Value Must
TOKEN your github token yes
EMAIL your email yes
You can’t perform that action at this time.