mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 22:42:19 +00:00
use setup-hugo action
This commit is contained in:
parent
1375a498f6
commit
56755531bf
1 changed files with 5 additions and 6 deletions
11
.github/workflows/deploy-to-neocities.yml
vendored
11
.github/workflows/deploy-to-neocities.yml
vendored
|
@ -19,13 +19,12 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Hugo site
|
name: Build Hugo site
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
HUGO_VERSION: "0.121.1"
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Hugo CLI
|
- name: Hugo setup
|
||||||
run: |
|
uses: peaceiris/actions-hugo@v2.6.0
|
||||||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
|
with:
|
||||||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
hugo-version: '0.121.1'
|
||||||
|
extended: true
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue