fix(ci): remove --gc flag from hugo build #25
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ci-remove-gc-flag"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
--gcflag in Hugo v0.164.0 causes exit code 22 in the CI environment, breaking all PR and main branch builds.This was confirmed by the fix branch
origin/post/0002(commit3b8384a) which also removed--gcwith the same rationale: "Remove --gc flag from hugo build (caused exit code 22 in CI)".The fix removes
--gcfrom both the main branch build and the PR preview build commands.