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:
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue