I use the Obsidian Git plugin to automatically push content to the website, so when a file is edited or moved to the submodule, the plugin will push that content to the website at some interval.