WordPress as Static Site Generator

  • I used to do this, while the setup is a bit simpler:

      - Use wordpress.com instead of self hosting WP.
      - Get a webhook call to a Cloud Function (GCP's Lambda equivalent) and import the HTML.
      - Put it to the static generator (Hugo) data on GitHub.
      - The CI setup for the blog kicks in to publish it.
    
    I prefer WYSIWYG over text editor while I'd like to own my data. So this worked very well.