gitlab-ci: doc publishing job needs doc building job
In order to trigger doc publication via docpub
, we need to include
the doc building job in the list of needed jobs.
Otherwise, publish_html_docs will not have access to the artifacts
from previous stages.
See https://phabricator.wikimedia.org/T337475#8957977
Bug: T337475