mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-12 19:12:18 +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:
|
||||
name: Build Hugo site
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HUGO_VERSION: "0.121.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-amd64.deb \
|
||||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||
- name: Hugo setup
|
||||
uses: peaceiris/actions-hugo@v2.6.0
|
||||
with:
|
||||
hugo-version: '0.121.1'
|
||||
extended: true
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue