整个项目的链接https://gitlab.com/ComplicatedPhenomenon/doubancrawler
和gitlab页面如下(https://complicatedphenomenon.gitlab.io/doubancrawler/api.html)
有什么问题.gitlab-ci.yml
吗?
image: python:3.7-alpine
test:
stage: test
script:
- pip install -r requirements2.txt
- cd docs/source/
- sphinx-build -b html . public
- mv public ../..
only:
- branches
except:
- master
pages:
stage: deploy
script:
- pip install -r requirements2.txt
- cd docs/source/
- sphinx-build -b html . public
- mv public ../..
artifacts:
paths:
- public
only:
- master