diff --git a/.drone.yml b/.drone.yml index a3e6b8c..1d9ce37 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,6 +36,15 @@ steps: - 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 settings: