Skip to content
Snippets Groups Projects
Commit 310726f1 authored by Volker von Holt's avatar Volker von Holt
Browse files

Update file .gitlab-ci.yml

parent b4cc9282
No related branches found
No related tags found
No related merge requests found
Pipeline #477868 failed
# This file is a template, and might need editing before it works on your project. # This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html # Full project: https://gitlab.com/pages/plain-html
image: python:3.8-slim #image: python:3.8-slim
#
#stages:
# - build
stages: #pages:
- build # script:
# - pip3 install -r requirements.txt
# - sphinx-build -b html docs/source/ public/
# artifacts:
# paths:
# - public
# only:
# - master
image: python:3.8-alpine
test:
stage: test
script:
- pip install -U sphinx
- sphinx-build -b html . public
only:
- branches
except:
- master
pages: pages:
stage: deploy
script: script:
- pip3 install -r requirements.txt - pip install -U sphinx
- sphinx-build -b html docs/source/ public/ - sphinx-build -b html . public
artifacts: artifacts:
paths: paths:
- public - public
only: only:
- master - master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment