Install deps when building docs

This commit is contained in:
Iain Learmonth 2022-04-08 13:51:19 +01:00
parent 892f7cab1d
commit 597a1ca62a

View file

@ -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: