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
|
||||
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:
|
||||
|
Reference in New Issue
Block a user