Is it possible to publish using an external web service a web-hook to Middleman? Is it able to accept POST requests in test/build mode?
In development, Middleman is just a Rack app so you can write Rack middleware (or something more powerful like Sinatra) to handle POST requests.
In build mode, it’s just static files so it won’t be able to respond.