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:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.114.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-64bit.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
run: sudo apt install hugo
- name: Checkout
uses: actions/checkout@v3