# This is a basic workflow to help you get started with Actionsname: Hugo Publish
# Controls when the action will run. Triggers the workflow on push or pull request# events but only for the master branchon:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
# This workflow contains a single job called "build"build:
# The type of runner that the job will run onruns-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the jobsteps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2
with:
submodules: true# Fetch Hugo themes (true OR recursive)fetch-depth: 0# Fetch all history for .GitInfo and .Lastmod# build hugo - name: Hugo Actions
uses: srt32/hugo-action@v0.0.3