fix(ci): remove --gc flag from hugo build #25

Merged
radu merged 1 commit from fix/ci-remove-gc-flag into main 2026-07-24 20:08:39 +00:00
Owner

The --gc flag 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 (commit 3b8384a) which also removed --gc with the same rationale: "Remove --gc flag from hugo build (caused exit code 22 in CI)".

The fix removes --gc from both the main branch build and the PR preview build commands.

The `--gc` flag 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` (commit `3b8384a`) which also removed `--gc` with the same rationale: "Remove --gc flag from hugo build (caused exit code 22 in CI)". The fix removes `--gc` from both the main branch build and the PR preview build commands.
fix(ci): remove --gc flag from hugo build (causes exit code 22)
All checks were successful
preview Preview deployment
Build and deploy website / Build and Deploy Hugo Site (pull_request) Successful in 23s
Cleanup preview deployment / cleanup (pull_request) Successful in 1s
0b218b30c1
radu merged commit fce5b22d60 into main 2026-07-24 20:08:39 +00:00
radu deleted branch fix/ci-remove-gc-flag 2026-07-24 20:08:39 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
radu/blog!25
No description provided.