2019-05-04 10:29:17 +00:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
2019-05-04 10:49:22 +00:00
|
|
|
- image: cibuilds/hugo:latest
|
2019-05-04 10:29:17 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
2019-05-04 10:49:22 +00:00
|
|
|
name: "Run Hugo"
|
2019-05-04 10:56:53 +00:00
|
|
|
command: HUGO_ENV=production hugo -v -s /root/project/
|
2019-05-04 10:29:17 +00:00
|
|
|
- run:
|
2019-05-04 10:49:22 +00:00
|
|
|
name: "Test Website"
|
|
|
|
command: htmlproofer src/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
|
2019-05-04 10:29:17 +00:00
|
|
|
|