actions-hugo

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

Stars
1.4K
Committers
14

Bot releases are hidden (Show)

actions-hugo - GitHub Actions for Hugo v2.3.2

Published by peaceiris almost 5 years ago

Release v2.3.2

  • feat: Update dependencies.
  • chore: Enhance workflows.

cf. Comparing v2.3.1...v2.3.2 · peaceiris/actions-hugo

actions-hugo - GitHub Actions for Hugo v2.3.1

Published by peaceiris almost 5 years ago

  • Update dependencies.
  • Enhance GitHub Actions workflows.

cf. Comparing v2.3.0...v2.3.1 · peaceiris/actions-hugo

actions-hugo - v2.3.0

Published by peaceiris almost 5 years ago

  • Internal path enhancement (#92 )
  • Add the Tips section to the README about the "Read Hugo version from file". (#89 )

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

actions-hugo - v2.2.4

Published by peaceiris almost 5 years ago

  • deps: Compile deps into single file with ncc (#88)
  • CodeFactor

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

actions-hugo - v2.2.3

Published by peaceiris almost 5 years ago

actions-hugo - v2.2.2

Published by peaceiris about 5 years ago

actions-hugo - v2.2.1

Published by peaceiris about 5 years ago

Release v2.2.1

actions-hugo - v2.2.0

Published by peaceiris about 5 years ago

Release v2.2.0

  • Migrated from JavaScript action to TypeScript action
  • Support macOS and Windows
actions-hugo - v2.1.0

Published by peaceiris about 5 years ago

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)

actions-hugo - v2.0.0

Published by peaceiris about 5 years ago

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/[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

Options

Hugo extended

- name: Setup Hugo
  uses: peaceiris/[email protected]
  with:
    hugo-version: '0.58.2'
    extended: true

Hugo latest version

- 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

actions-hugo - v2.0.0-rc1

Published by peaceiris about 5 years ago

Migrate to JavaScript action #20

actions-hugo - v0.58.2

Published by peaceiris about 5 years ago

Hugo v0.58.2

actions-hugo - v0.58.1

Published by peaceiris about 5 years ago

Hugo v0.58.1

actions-hugo - v0.58.0

Published by peaceiris about 5 years ago

  • upgrade: Hugo to v0.58.0
  • upgrade: base image golang to 1.13.0
  • enhance: push workflow

cf.

actions-hugo - v0.57.2

Published by peaceiris about 5 years ago

  • upgrade: Hugo to v0.57.2
actions-hugo - v0.57.1

Published by peaceiris about 5 years ago

  • upgrade: hugo v0.57.1
actions-hugo - v0.57.0

Published by peaceiris about 5 years ago

cf. https://github.com/peaceiris/actions-hugo/pull/8

  • upgrade:
    • Hugo v0.57.0
    • GitHub Actions beta v2
actions-hugo - v0.56.3

Published by peaceiris about 5 years ago

  • upgrade: hugo to v0.56.3
actions-hugo - v0.56.2

Published by peaceiris about 5 years ago

  • change: install hugo from binary
  • upgrade: hugo to v0.56.2
actions-hugo - v0.56.1

Published by peaceiris about 5 years ago

  • upgrade hugo to v0.56.1
Package Rankings
Top 0.33% on Github actions
Top 6.08% on Proxy.golang.org
Badges
Extracted from project README
Project status: active – The project has reached a stable, usable state and is being actively developed. license release GitHub release date Release Feed CodeFactor codecov Maintainability peaceiris/actions-gh-pages - GitHub
Related Projects