Last night I switched the method through which I import my mastodon toots from here into my #11ty blog.
It now pulls changes when a ci build is triggered using an external script, rather than during the render/build phase. It does this by generating markdown files with yaml frontmatter. The process creates a new commit which in turn triggers a full build of the site on the main branch.