Adds an after-script action to generate the doc

- only happens on `master`