diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a402240b537c020f115d18d60afc6ccd425fcc3..70e4fc74a47856ba0657ea90826bdeced2c39117 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,3 +33,14 @@ build:windows: - python -m pip install . - python -m bitia --help - python -m bitia run "ls -ltrh /" + +pages: + tags: + - linux + stage: deploy + script: + - python3 -m pip install sphinx + - sphinx-build -b html docs public + artifacts: + paths: + - public diff --git a/Makefile b/Makefile index f4dad4276bce69c3db281ef3ee32c4b2a6a1c550..a4157e4b003b3f0228b74c06942930e3699ec1be 100644 --- a/Makefile +++ b/Makefile @@ -32,9 +32,11 @@ release: rm -rf dist/*.whl bash ./.ci/realese.sh -doc html: +docs doc html: cd docs && make html .PHONY : copr fix test install lint build \ + doc docs html \ all check \ - runner gitlab-runner image image_upload + runner gitlab-runner \ + image image_upload