Avoid stable/master doc deployment from non-master via flag
This MR introduces an option to avoid documentation deployments on the sub-directories master
and stable
, if the release is not happening from the master
branch.
It is useful for old patch releases for which one doesn't want to overwrite previous deployments on those directories.