From 4307a8de8a4aef5a80ecc7ec098e7f0818deab43 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sat, 4 May 2019 18:49:22 +0800 Subject: [PATCH] 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 ``` --- .circleci/config.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 00d4f23..ce60981 100644 --- 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