mirror of
https://github.com/agresdominik/website.git
synced 2026-07-21 16:10:54 +00:00
399a8cb73d
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
23 lines
451 B
YAML
23 lines
451 B
YAML
name: Build Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- uses: peaceiris/actions-hugo@v3
|
|
with:
|
|
hugo-version: "0.152.2"
|
|
extended: true
|
|
|
|
# Fails the run on any Hugo error (broken templates, shortcodes, refs).
|
|
- run: hugo --gc --minify --panicOnWarning
|
|
working-directory: blog
|