Skip to content

Commit

Permalink
fix(ci): fix circleci config bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Feb 16, 2020
1 parent ca16439 commit ef06c4e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ jobs:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run: cd << parameters.example-site-path >>
- run:
name: "Run Hugo"
command: HUGO_ENV=production hugo --themesDir << parameters.theme-path >> -v --minify --gc
- run:
name: "Test Website"
command: htmlproofer public --allow-hash-href --empty-alt-ignore --disable-external
command: |
cd << parameters.example-site-path >>
pwd
HUGO_ENV=production hugo --themesDir << parameters.theme-path >> -v --minify --gc
htmlproofer public --allow-hash-href --empty-alt-ignore --disable-external
workflows:
build-check-exampleSite:
jobs:
Expand Down

0 comments on commit ef06c4e

Please sign in to comment.