Skip to content

[pre-commit.ci] pre-commit autoupdate #95

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #95

Workflow file for this run

---
name: Build with Hugo
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
hugo-version:
- 'latest'
- '0.113.0'
if: >
github.event_name == 'push' ||
github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
steps:
- uses: actions/checkout@v4
- name: Install Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: ${{ matrix.hugo-version }}
extended: true
- name: Run
run: hugo --config=exampleSite/hugo.toml --contentDir=exampleSite/content --themesDir=..