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
|
||||
- run:
|
||||
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:
|
||||
root: workspace
|
||||
paths:
|
||||
|
|
Loading…
Reference in New Issue