Build the doc in a seperate folder then move it
# What does this PR do?

To fix the issue pointed out in #16019 this removes the need for stashing by:
- building the doc in a folder outside any repos
- pull the distant repos once the doc build is finished
- then move other the built doc to those repos and push

TODO: the dev job as well once the main job has been tested