1
0
Fork 0
mirror of https://github.com/dillonzq/LoveIt.git synced 2025-04-16 02:30:44 +02:00

chore(ci): update circleci check config

This commit is contained in:
Dillon 2025-03-03 23:24:07 +08:00
parent 4c5fdf7856
commit 7455ee3bed

View file

@ -15,6 +15,9 @@ jobs:
version:
description: "version tag"
type: string
environment:
description: "hugo environment"
type: string
executor:
name: hugo
version: <<parameters.version>>
@ -23,15 +26,15 @@ jobs:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run: hugo --source exampleSite --gc --minify --environment production
- run: hugo --source exampleSite --gc --minify --environment <<parameters.environment>>
- run: cp -rf exampleSite/resources . && git diff --exit-code
- run: htmlproofer exampleSite/public --disable-external true --ignore-missing-alt true
workflows:
build-check:
jobs:
- build-check:
name: build-check-min
version: 0.128.0
- build-check:
name: build-check-max
version: 0.145.0
matrix:
parameters:
version: [ "0.128.0", "0.145.0" ]
environment: [ development, production ]