- Define new variant derived from dev-python for building the docs in blubber.yaml
- Add a stage to the existing publish pipeline in config.yaml to publish the documentation via a downstream job
Example config.yaml:
stages:
- name: publish-docs
build: documentation
run: true
copy:
- source: /srv/app/build/docs/groovydoc
destination: docs
archive: true
trigger:
name: publish-artifact-to-doc-wikimedia-org
parameters:
ARTIFACT_URL: '${.artifactURLs}'
WMF_CI_PUB_DEST: 'my/project/doc/root'(from https://gerrit.wikimedia.org/r/c/integration/config/+/792736/)