-
Notifications
You must be signed in to change notification settings - Fork 2.4k
docs(blog): compress images to fix GitHub Pages deployment #6339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The agentic-guardrails-and-controls blog post had large images (~10.6MB total) that caused the GitHub Pages deployment to fail with 'No space left on device'. Changes: - Convert large PNGs to compressed JPEGs (80% quality) - Resize images wider than 1200px - Update markdown to reference new .jpg files Image size reductions: - agentic_guardrails_header: 2.6MB → 380KB (85% reduction) - image2: 4.9MB → 284KB (94% reduction) - image4: 2.1MB → 224KB (89% reduction) - image5: 872KB → 232KB (73% reduction) Total: ~10.6MB → ~1.3MB
shellz-n-stuff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR addresses a GitHub Pages deployment failure caused by large image files (~10.6MB total) by converting the largest PNGs to compressed JPEGs and updating all markdown references accordingly.
Key changes:
- Converted 4 large PNG images to compressed JPEG format (80% quality), achieving 88% size reduction
- Updated markdown image references to use
.jpgextensions for compressed files - Retained smaller images (image1.png, image3.png) as PNG since they didn't contribute to the deployment issue
Reviewed changes
Copilot reviewed 1 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
index.md |
Updated 4 image references from .png to .jpg extensions for compressed images (agentic_guardrails_header, image2, image4, image5) |
agentic_guardrails_header.png |
Removed - replaced with compressed JPG version |
image2.png |
Removed - replaced with compressed JPG version |
image4.png |
Removed - replaced with compressed JPG version |
image5.png |
Removed - replaced with compressed JPG version |
image3.png |
Added in diff but unchanged - small file kept as PNG |
The changes are clean and consistent. All markdown references have been properly updated to match the new file extensions, and the compression strategy focuses only on the problematic large images while preserving smaller files in their original format.
|
* 'main' of github.com:block/goose: docs(blog): compress images to fix GitHub Pages deployment (#6339)
Summary
The agentic-guardrails-and-controls blog post had large images (~10.6MB total) that caused the GitHub Pages deployment to fail with:
See failed run: https://github.com/block/goose/actions/runs/20724822334
Changes
Image Size Reductions
Testing
npm run buildAI did assist me on this PR