1
0
Fork 0
mirror of https://github.com/dillonzq/LoveIt.git synced 2025-03-13 11:18:15 +01:00

chore(ci): update circleci check config ()

This commit is contained in:
Dillon 2025-03-03 23:32:42 +08:00 committed by GitHub
parent 4c5fdf7856
commit 08d05ab7eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 ]