Hugo — Static Site Generator
ActionsTags
(2)Use Hugo with Github Actions
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.