Made deployments to -based and more robust and atomic, no more spurious 404 errors because website is updating. Now I'd like to somehow avoid file modification time changing if contents didn't change...

My deployment script now compares old and new generated directories, copying mtime for any unchanged files. I couldn't find any better approach to that, other than relying on Hugo to update content in-place – something that doesn't work too well.


As it turned out, I broke comments when I implemented this - forgot to update configuration there. Heh...

Sign in to participate in the conversation
Infosec Exchange

A Mastodon instance for info/cyber security-minded people.