From 56755531bf1c16c70df01e4881fba8f1941da389 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 21 Jan 2024 14:58:23 -0600 Subject: [PATCH] use setup-hugo action --- .github/workflows/deploy-to-neocities.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-to-neocities.yml b/.github/workflows/deploy-to-neocities.yml index d680ffb..2343127 100644 --- a/.github/workflows/deploy-to-neocities.yml +++ b/.github/workflows/deploy-to-neocities.yml @@ -19,13 +19,12 @@ jobs: build: name: Build Hugo site runs-on: ubuntu-latest - env: - HUGO_VERSION: "0.121.1" steps: - - name: Install Hugo CLI - run: | - wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ - && sudo dpkg -i ${{ runner.temp }}/hugo.deb + - name: Hugo setup + uses: peaceiris/actions-hugo@v2.6.0 + with: + hugo-version: '0.121.1' + extended: true - name: Checkout uses: actions/checkout@v4 with: