use setup-hugo action

This commit is contained in:
John Bowdre 2024-01-21 14:58:23 -06:00
parent 80316ec72f
commit bd00a037a3

View file

@ -19,13 +19,12 @@ jobs:
build: build:
name: Build Hugo site name: Build Hugo site
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
HUGO_VERSION: "0.121.1"
steps: steps:
- name: Install Hugo CLI - name: Hugo setup
run: | uses: peaceiris/actions-hugo@v2.6.0
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ with:
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb hugo-version: '0.121.1'
extended: true
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with: