1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00
seirdy.one/README.md
Rohan Kumar 4d7625227b
IndieWeb: gather WebWentions with static-webmention
Update the Makefile to download the old version of the site, run
static-webmentions, and collect the WebMentions to send in a json file
saved as a build artifact.

Don't send these automatically; just save them for now. Until I work out
a solution to save sent WebMentions and avoid sending duplicates, I'll
keep the sending of WebMentions manual.

For some reason this caused webhint's axe/aria test to error out with a
"Protocol error" so I disabled it. Axe tests are covered by Lighthouse
anyway.
2021-01-09 21:48:34 -08:00

2.3 KiB

seirdy.one

sourcehut GitLab
mirror GitHub
mirror

builds.sr.ht
status

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:

To test in CI, after deploying to the staging environment:

CI also runs static-webmention to gather a list of WebMentions for me to send and review manually.

See the Makefile for details. The CI saves lighthouse reports as a build artifact.