Skip to content

Releases: peaceiris/actions-hugo

v2.2.4

17 Nov 12:00
Compare
Choose a tag to compare
  • deps: Compile deps into single file with ncc (#88)
  • CodeFactor

cf. Comparing v2.2.3...v2.2.4 · peaceiris/actions-hugo

v2.2.3

29 Oct 01:04
Compare
Choose a tag to compare

v2.2.2

06 Oct 15:12
Compare
Choose a tag to compare

v2.2.1

25 Sep 03:42
8e97852
Compare
Choose a tag to compare

Release v2.2.1

v2.2.0

21 Sep 01:43
dc85417
Compare
Choose a tag to compare

Release v2.2.0

  • Migrated from JavaScript action to TypeScript action
  • Support macOS and Windows

v2.1.0

17 Sep 19:21
Compare
Choose a tag to compare

Release v2.1.0

Enhancement

refactor: Add process.env.HOME (#27)
refactor: Get the latest version from Homebrew (#28)
feat: show version of Hugo, Go, and Git (#28)

v2.0.0

15 Sep 23:34
Compare
Choose a tag to compare

Release v2.0.0

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.)

New workflow example

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/actions-hugo@v2.0.0
      with:
        hugo-version: '0.58.2'

    - name: Build
      run: hugo --gc --minify --cleanDestinationDir

    - name: Deploy
      uses: peaceiris/actions-gh-pages@v2.3.1
      env:
        ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
        PUBLISH_BRANCH: gh-pages
        PUBLISH_DIR: ./public

Options

Hugo extended

- name: Setup Hugo
  uses: peaceiris/actions-hugo@v2.0.0
  with:
    hugo-version: '0.58.2'
    extended: true

Hugo latest version

- name: Setup Hugo
  uses: peaceiris/actions-hugo@v2.0.0
  with:
    hugo-version: 'latest'

Note: This action gets a Hugo latest version by GitHub API. Please be aware of GitHub API Rate limiting

v2.0.0-rc1

15 Sep 23:22
Compare
Choose a tag to compare
v2.0.0-rc1 Pre-release
Pre-release

Migrate to JavaScript action #20

v0.58.2

14 Sep 20:26
Compare
Choose a tag to compare

v0.58.1

08 Sep 09:05
Compare
Choose a tag to compare