From 88acd159203bbaf8f7e17526fce77781e210dd84 Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Thu, 5 Nov 2020 10:18:10 +0100 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 345af60..16cc22a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -28,13 +28,10 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install Hugo - run: - wget "https://github.com/gohugoio/hugo/releases/download/v${HUGO_RELEASE}/hugo_extended_${HUGO_RELEASE}_Linux-64bit.deb" - dpkg -i hugo*.deb - npm ci - env: - PRODUCTION: true - HUGO_RELEASE: 0.78.0 + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: 'latest' + extended: true - name: Check install Hugo run: hugo version