Use a specific Hugo version with GitHub Actions View article history Edit article

Published: , Updated:
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/[email protected]
        with:
          hugo-version: <HUGO_VERSION>