Yeah - the only time it's worth it is if you're also learning. I volunteer extra time when a project really teaches me something new (or there's some fire and we need all hands, but that's rare).
This year I had the chance to learn IaC and generally using AWS through a project, but I had to donate a bunch of my time learning. Now that's 2 things I can claim I have worked with in production. But fixing bugs and general dev work, no thanks.