4 years ago, I have devised a Docker based pipeline for publishing static web pages from a local deployment of Ghost and publishing them to Gitlab using git. I used Ghost 1.x, and the static page generator I used was a Python script that was an already abandoned project