Publish joplin markdown+frontmatter or html to github website?

There is a plugin made specifically for this use case. It should work for you.