Use cibuilds/hugo:latest:
```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -2,16 +2,14 @@ version: 2
jobs:
build:
docker:
- - image: debian:stretch
+ - image: cibuilds/hugo:latest
steps:
- checkout
-
- run:
- name: Greeting
- command: echo Hello, world.
-
+ name: "Run Hugo"
+ command: HUGO_ENV=production hugo -v -s src/
- run:
- name: Print the Current Time
- command: date
+ name: "Test Website"
+ command: htmlproofer src/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
```
This commit is contained in:
parent
003a943a1d
commit
4307a8de8a
@ -2,16 +2,14 @@ version: 2
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: debian:stretch
|
- image: cibuilds/hugo:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Greeting
|
name: "Run Hugo"
|
||||||
command: echo Hello, world.
|
command: HUGO_ENV=production hugo -v -s src/
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Print the Current Time
|
name: "Test Website"
|
||||||
command: date
|
command: htmlproofer src/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user