mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-01 21:02:15 +00:00
37 lines
864 B
YAML
37 lines
864 B
YAML
version: 2.1
|
|
|
|
executors:
|
|
hugo:
|
|
parameters:
|
|
version:
|
|
description: "version tag"
|
|
type: string
|
|
docker:
|
|
- image: cibuilds/hugo:<<parameters.version>>
|
|
|
|
jobs:
|
|
build-check:
|
|
parameters:
|
|
version:
|
|
description: "version tag"
|
|
type: string
|
|
executor:
|
|
name: hugo
|
|
version: <<parameters.version>>
|
|
working_directory: ~/LoveIt
|
|
steps:
|
|
- checkout
|
|
- run: git submodule sync
|
|
- run: git submodule update --init
|
|
- run: hugo --source exampleSite --gc --minify --environment production
|
|
- 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.144.2
|