]> kaliko git repositories - python-musicpd.git/blobdiff - .gitlab-ci.yml
Add readpicture command
[python-musicpd.git] / .gitlab-ci.yml
index ff576c064df4ca817d4e4b6d9e4d7725de94ed3f..38250898d60473ac1fca448d1654796020cdcc95 100644 (file)
@@ -22,7 +22,7 @@ build:
   script:
   # packaging test
   - python setup.py bdist_wheel sdist
-  - pip install dist/*
+  - pip install dist/*.whl
   artifacts:
     expire_in: 1 week
     paths:
@@ -44,3 +44,14 @@ tag_release:
     name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"
   only:
     - tags
+
+pages:
+  stage: build
+  script:
+  - pip install sphinx sphinx_rtd_theme
+  - sphinx-build -d ./build/doctrees doc/source -b html ./public -D html_theme=sphinx_rtd_theme
+  artifacts:
+    paths:
+    - public
+  only:
+  - master