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
Jason Stirnaman 2025-06-03 10:50:39 -05:00
parent f908bab51f
commit 5c419c18bb
1 changed files with 1 additions and 1 deletions

View File

@ -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: