Use a specific Hugo version with GitHub Actions

Published:
Talks about: , , and

The actions-hugo action allows to use a specific Hugo version in your GitHub Action.

name: <PIPELINE>
jobs:
  build:
    runs-on: <RUN_ON>
    steps:
      - name: Setup hugo
        uses: peaceiris/actions-hugo@v2
        with:
          hugo-version: <HUGO_VERSION>