perhaps not as automated as you'd like it to be, but i recently made a Bash tool for this purpose:
https://codeberg.org/aketawi/markpiler
instead of rewriting the whole thing each time, I store a selection of "snippets" which detail a particular skill or a background, and then compile a bunch of relevant ones together into a markdown resume, which can later be processed into HTML or PDF.