mirror of
https://github.com/dillonzq/LoveIt.git
synced 2025-03-13 11:18:15 +01:00
chore(ci): update circleci check config (#936)
This commit is contained in:
parent
4c5fdf7856
commit
08d05ab7eb
1 changed files with 9 additions and 6 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Add table
Reference in a new issue