Update hugo.yml
This commit is contained in:
parent
a1cd6b76fe
commit
0adcc9e270
|
@ -22,13 +22,6 @@ defaults:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
env:
|
||||
HUGO_VERSION: 0.120.4
|
||||
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: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -36,8 +29,6 @@ jobs:
|
|||
- name: Setup Pages
|
||||
id: pages
|
||||
uses: actions/configure-pages@v4
|
||||
- name: Install Node.js dependencies
|
||||
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
||||
- name: Build with Hugo
|
||||
env:
|
||||
HUGO_ENVIRONMENT: production
|
||||
|
|
Loading…
Reference in New Issue