I am trying to use a Bitbucket repository in a slightly unorthodox fashion... For legal reasons I need to keep track of the dynamically-generated output html from my static website builder. Therefore, with each publish, I would like to use the Bitbucket Server API to commit the html directory and push it to the repo. Is this possible?
Note: I don't necessarily need the commits to be related, so I can use push --force. I just need to be able to look at a commit and see the files present at that time.