Skip to content
Snippets Groups Projects

Fix pipeline documentation build

Merged GromeTT requested to merge fix_ci_pipeline into master
2 files
+ 31
17
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 29
9
image: python:3.7
stages:
- build_wheel
- build_doc
- build
- deploy
wheel:
before_script:
- pip install --upgrade pip
build_wheel:
tags:
- wheel
stage: build
script:
- pip install --upgrade setuptools wheel
- python setup.py bdist_wheel
build_docs:
tags:
- doc
stage: build
script:
- pip install -r requirements.txt
- cd docs
- make html
deploy_wheel:
tags:
- wheel
stage: build_wheel
stage: deploy
script:
- pip install --upgrade pip setuptools wheel
- pip install --upgrade setuptools wheel
- python setup.py bdist_wheel
- mv dist/ public
@@ -20,12 +40,12 @@ wheel:
only:
- master
pages:
deploy_pages:
tags:
- doc
stage: build_doc
stage: deploy
dependencies:
- wheel
- deploy_wheel
script:
- pip install -r requirements.txt
- cd docs
@@ -36,4 +56,4 @@ pages:
paths:
- public
only:
- master
- master
\ No newline at end of file
Loading