Update hugo.yml

This commit is contained in:
Morgan 2024-03-05 14:25:09 +09:00 committed by GitHub
parent a1cd6b76fe
commit 0adcc9e270
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 9 deletions

View File

@ -22,13 +22,6 @@ defaults:
jobs: jobs:
build: build:
runs-on: self-hosted 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 - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
@ -36,8 +29,6 @@ jobs:
- name: Setup Pages - name: Setup Pages
id: pages id: pages
uses: actions/configure-pages@v4 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 - name: Build with Hugo
env: env:
HUGO_ENVIRONMENT: production HUGO_ENVIRONMENT: production