diff options
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e961cb1..3ce6025 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,20 @@ image: python:3.7 stages: - deploy +pages: + stage: deploy + script: + - pip3 install sphinx + - python3 setup.py build_sphinx + - mkdir public + - mv build/sphinx/html/* public/ + artifacts: + expire_in: 1 day + paths: + - public + #only: + # - master + build_test_image: stage: deploy image: |