mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-14 17:42:09 +00:00
0c64c5867b
Compress with brotli ahead of time in CI, just like we do with zopfli for gzip_static Update hintrc to check for brotli compression. Update lighthouse config to throttle CPU some more since brotli decompression can be heavier.
2.1 KiB
2.1 KiB
seirdy.one
Code for my personal website, seirdy.one. Built with Hugo.
Dependencies
To build:
- Hugo 0.75 or later
- Make
- Git (Hugo uses Git info for features like date last updated)
- Zopfli (optional; set
NO_STATIC=1
to disable) - Brotli (optional; set
NO_STATIC=1
to disable) - POSIX utils: grep, find, etc.
To deploy:
- ssh
- rsync
- zstd
To lint:
- stylelint
- csslint
- webhint CLI
- lychee
To test in CI, after deploying to the staging environment:
- webhint CLI
- lighthouse-ci
See the Makefile
for details. The CI saves lighthouse reports as a build artifact.