Skip to content

Hugo — Static Site Generator

Actions
Use Hugo with Github Actions
v1.0
Latest
Star (4)

hugo

Use Hugo with Github Actions

Usage

Build Hugo site and push to GitHub. See my blog

name: publish

on:
  push:
    branches:
    - master
    
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: checkout
      uses: actions/checkout@master
    - name: build
      uses: github-actions-x/hugo@master
    - name: push
      uses: github-actions-x/commit@master
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        push_branch: 'master'
        commit_message: 'publish'

Hugo — Static Site Generator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Use Hugo with Github Actions
v1.0
Latest

Hugo — Static Site Generator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.