fix(ci): Clear Hugo cache before build:
- When building in CircleCI, the previous Hugo config changes prevents Hugo finding previously processed CSS in the file cache. Clean up the cache before building.pull/6079/head
parent
f908bab51f
commit
5c419c18bb
|
@ -41,7 +41,7 @@ jobs:
|
||||||
- /home/circleci/bin
|
- /home/circleci/bin
|
||||||
- run:
|
- run:
|
||||||
name: Hugo Build
|
name: Hugo Build
|
||||||
command: npx hugo --config config/production/config.yml --logLevel info --minify --destination workspace/public
|
command: npx hugo --config config/production/config.yml --logLevel info --minify --gc --destination workspace/public
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: workspace
|
root: workspace
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in New Issue