apt install for hugo

This commit is contained in:
Andy Pack 2023-06-26 17:24:59 +01:00
parent c5716f0392
commit cfd60fe546
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -29,13 +29,9 @@ jobs:
# Build job # Build job
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.114.1
steps: steps:
- name: Install Hugo CLI - name: Install Hugo CLI
run: | run: sudo apt install hugo
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3