diff --git a/.circleci/config.yml b/.circleci/config.yml index 94eb1ec1..945c6a74 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -162,6 +162,19 @@ jobs: pip install twine python3 setup.py sdist bdist_wheel python3 -m twine upload dist/* + generate-index file: + executor: python/default + environment: + PYTHONPATH=./src + steps: + - checkout + - python/install-deps + - run: + name: Build image.html + command: | + git branch + pwd + python3 -m robot.libdoc src/KubeLibrary/KubeLibrary.py docs/index.html workflows: main: jobs: @@ -187,3 +200,11 @@ workflows: ignore: /.*/ tags: only: /^v.*/ + - generate-index file: + requires: + - build-and-test + - lint-and-coverage + - test-on-k8s + filters: + tags: + only: /.*/