Install Hugo with apt-get

This commit is contained in:
Will Faught
2023-02-20 20:53:47 -08:00
parent d0bb2010d9
commit 398c4739ce

View File

@@ -6,14 +6,10 @@ defaults:
shell: bash
jobs:
build-linux:
env:
HUGO_VERSION: 0.102.3
runs-on: ubuntu-latest
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
- name: Install Hugo
run: sudo apt-get install hugo
- name: Checkout
uses: actions/checkout@v3
with: