.gitlab-ci-docs.yml 542 Bytes
Newer Older
1
2
# This is the CI file for GitLab Pages

Simon Kirsten's avatar
Simon Kirsten committed
3
4
pages:
  stage: deploy
5
  image: python:3.7-alpine
6

Simon Kirsten's avatar
Simon Kirsten committed
7
  before_script:
8
9
    # TODO: we should consider also version locking these packages:
    #  + everything will work in the future
Simon Kirsten's avatar
Simon Kirsten committed
10
    #  - we wont see any future improvements by mkdocs or mkdocs-material
Simon Kirsten's avatar
Simon Kirsten committed
11
12
    - pip install mkdocs
    - pip install mkdocs-material
13

Simon Kirsten's avatar
Simon Kirsten committed
14
15
  script:
  - mkdocs build
16
17
18
  - mv site public # move mkdocs output to public
  - mv binaries public/ # move binaries from the build stage to public
  
Simon Kirsten's avatar
Simon Kirsten committed
19
20
21
  artifacts:
    paths:
    - public