Posting from Obsidian using a separate vault
The trick to posting directly to a Hugo blog from Obsidian is to use a custom vault that is pointing to the content folder of the hugo git repository. Then just use the Obsidian Git plugin to commit and push. Github actions or Gitlab CI will then automatically publish after pushing to git.
Reference: Steph Ango - How I use Obsidian