2020-02-16 15:31:06 +01:00
|
|
|
version: 2.1
|
2020-02-16 15:25:47 +01:00
|
|
|
jobs:
|
|
|
|
build-check:
|
|
|
|
docker:
|
2020-02-18 09:22:24 +01:00
|
|
|
- image: cibuilds/hugo:0.62
|
2020-02-16 15:25:47 +01:00
|
|
|
working_directory: ~/LoveIt
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: git submodule sync
|
|
|
|
- run: git submodule update --init
|
2020-02-21 18:14:01 +01:00
|
|
|
- run: HUGO_ENV=production hugo --source=exampleSite -v --gc
|
|
|
|
- run: htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external
|
|
|
|
|
2020-02-16 15:25:47 +01:00
|
|
|
workflows:
|
|
|
|
build-check-exampleSite:
|
|
|
|
jobs:
|
2020-02-21 18:14:01 +01:00
|
|
|
- build-check
|