Install Hugo with apt-get
This commit is contained in:
8
.github/workflows/pages.yml
vendored
8
.github/workflows/pages.yml
vendored
@@ -6,14 +6,10 @@ defaults:
|
|||||||
shell: bash
|
shell: bash
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-linux:
|
||||||
env:
|
|
||||||
HUGO_VERSION: 0.102.3
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install Hugo CLI
|
- name: Install Hugo
|
||||||
run: |
|
run: sudo apt-get 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
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user