diff --git a/.drone.yml b/.drone.yml index a3e6b8c..9838b6c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,6 +35,15 @@ steps: - docker build -t="$DOCKER_USERNAME/producer:$DRONE_BUILD_NUMBER" . - docker push "$DOCKER_USERNAME/producer" - docker push "$DOCKER_USERNAME/producer:$DRONE_BUILD_NUMBER" + +- name: build_docs + image: python:3 + commands: + - pip3 install Sphinx + - pip3 install -r requirements.txt + - cd docs + - sphinx-apidoc -o source/ ../ + - make html - name: slack image: plugins/slack