GitHub Actions for Hugo ⚡️ Setup Hugo quickly and build your site fast. Hugo extended, Hugo Modules, Linux (Ubuntu), macOS, and Windows are supported.
MIT License
Bot releases are visible (Hide)
Published by peaceiris almost 5 years ago
Published by peaceiris almost 5 years ago
Dependencies update
Published by peaceiris about 5 years ago
Dependencies update
Published by peaceiris about 5 years ago
Release v2.2.1
Published by peaceiris about 5 years ago
Published by peaceiris about 5 years ago
refactor: Add process.env.HOME (#27)
refactor: Get the latest version from Homebrew (#28)
feat: show version of Hugo, Go, and Git (#28)
Published by peaceiris about 5 years ago
This action migrated to JavaScript action. We no longer build a docker image. Execution time is only 1 sec. (Docker base action was taking 1 min to build.)
name: github pages
on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Setup Hugo
uses: peaceiris/[email protected]
with:
hugo-version: '0.58.2'
- name: Build
run: hugo --gc --minify --cleanDestinationDir
- name: Deploy
uses: peaceiris/[email protected]
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public
- name: Setup Hugo
uses: peaceiris/[email protected]
with:
hugo-version: '0.58.2'
extended: true
- name: Setup Hugo
uses: peaceiris/[email protected]
with:
hugo-version: 'latest'
Note: This action gets a Hugo latest version by GitHub API. Please be aware of GitHub API Rate limiting
Published by peaceiris about 5 years ago
Migrate to JavaScript action #20
Published by peaceiris about 5 years ago
Hugo v0.58.2
Published by peaceiris about 5 years ago
Hugo v0.58.1
Published by peaceiris about 5 years ago
cf.
Published by peaceiris about 5 years ago
Published by peaceiris about 5 years ago
Published by peaceiris about 5 years ago
cf. https://github.com/peaceiris/actions-hugo/pull/8
Published by peaceiris about 5 years ago
Published by peaceiris about 5 years ago
Published by peaceiris about 5 years ago
Published by peaceiris about 5 years ago
Published by peaceiris about 5 years ago
upgrade: hugo v0.56.0
Published by peaceiris over 5 years ago
Enhance: Dockerfile #1