Install deps when building docs
This commit is contained in:
parent
892f7cab1d
commit
597a1ca62a
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ image: python:3.8-alpine
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- pip install -r requirements.txt
|
||||||
- pip install -U sphinx sphinx-press-theme
|
- pip install -U sphinx sphinx-press-theme
|
||||||
- sphinx-build -b html docs public
|
- sphinx-build -b html docs public
|
||||||
rules:
|
rules:
|
||||||
|
@ -11,6 +12,7 @@ test:
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
|
- pip install -r requirements.txt
|
||||||
- pip install -U sphinx sphinx-press-theme
|
- pip install -U sphinx sphinx-press-theme
|
||||||
- sphinx-build -b html docs public
|
- sphinx-build -b html docs public
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue