Skip to content
GitHub Actions for Hugo extended and Modules
Dockerfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Release v0.57.2 (#14) Aug 19, 2019
images Release v0.57.0 (#8) Aug 15, 2019
.dockerignore add: .dockerignore May 21, 2019
Dockerfile Release v0.57.2 (#14) Aug 19, 2019
LICENSE add: action May 21, 2019
README.md rename: example workflow name Aug 21, 2019

README.md

license release GitHub release date GitHub Actions status

GitHub Actions for Hugo extended

GitHub Actions for Hugo extended and Modules

Getting started

Create .github/workflows/push.yml

An example with GitHub Actions for deploying to GitHub Pages with Static Site Generators

peaceiris/actions-hugo latest version peaceiris/actions-gh-pages latest version

name: github pages

on:
  push:
    branches:
    - master

jobs:
  build-deploy:
    runs-on: ubuntu-18.04
    steps:
    - uses: actions/checkout@master
    - name: build
      uses: peaceiris/actions-hugo@v0.57.2
      if: github.event.deleted == false
      with:
        args: --gc --minify --cleanDestinationDir
    - name: deploy
      uses: peaceiris/actions-gh-pages@v1.1.0
      if: success()
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        PUBLISH_BRANCH: gh-pages
        PUBLISH_DIR: ./public

License

About the author

You can’t perform that action at this time.