mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 02:46:16 +01:00
fix(ci): fix circleci config bug
This commit is contained in:
parent
ca1643957e
commit
ef06c4e23f
1 changed files with 5 additions and 6 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue