Not OP but used SimplyStatic[0] to export flattened pages and assets. It’s still its own deploy process but you avoid a lot of security and site speed issues. You can specify root domain and allow/deny which URLs get exported.
[0] https://wordpress.org/plugins/simply-static/