fix(ci): fix circleci config bug

This commit is contained in:
Dillon 2020-02-16 22:35:31 +08:00
parent ca1643957e
commit ef06c4e23f

View file

@ -13,13 +13,12 @@ jobs:
- checkout - checkout
- run: git submodule sync - run: git submodule sync
- run: git submodule update --init - run: git submodule update --init
- run: cd << parameters.example-site-path >>
- run: - run:
name: "Run Hugo" command: |
command: HUGO_ENV=production hugo --themesDir << parameters.theme-path >> -v --minify --gc cd << parameters.example-site-path >>
- run: pwd
name: "Test Website" HUGO_ENV=production hugo --themesDir << parameters.theme-path >> -v --minify --gc
command: htmlproofer public --allow-hash-href --empty-alt-ignore --disable-external htmlproofer public --allow-hash-href --empty-alt-ignore --disable-external
workflows: workflows:
build-check-exampleSite: build-check-exampleSite:
jobs: jobs: