Change the path-to-public-directory:

```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -11,5 +11,5 @@ jobs:
           command: HUGO_ENV=production hugo -v -s /root/project/
       - run:
           name: "Test Website"
-          command: htmlproofer src/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
+          command: htmlproofer /root/project/public --allow-hash-href --check-html --empty-alt-ignore --disable-external
```
This commit is contained in:
Kazuhiro MUSASHI 2019-05-04 18:59:22 +08:00
parent c52c1d60d8
commit 3273955767
1 changed files with 1 additions and 1 deletions

View File

@ -11,5 +11,5 @@ jobs:
command: HUGO_ENV=production hugo -v -s /root/project/ command: HUGO_ENV=production hugo -v -s /root/project/
- run: - run:
name: "Test Website" name: "Test Website"
command: htmlproofer src/public --allow-hash-href --check-html --empty-alt-ignore --disable-external command: htmlproofer /root/project/public --allow-hash-href --check-html --empty-alt-ignore --disable-external