.gitlab-ci.yml 413 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
image: python:3.7-alpine

test:
  stage: test
  script:
  - pip install -U sphinx
  - sphinx-build -b html . public
  only:
  - branches
  except:
  - master

pages:
  stage: deploy
  script:
  - pip install -U sphinx
  - sphinx-build -b html . public
Carel van Niekerk's avatar
Carel van Niekerk committed
18
19
  - mv public/Docs/* public/
  - cp Docs/hhu-logo.png public/_static/hhu-logo.png
Carel van Niekerk's avatar
Carel van Niekerk committed
20
  - rm -rd public/Docs
21
22
  artifacts:
    paths:
Carel van Niekerk's avatar
Carel van Niekerk committed
23
    - public
24
25
  only:
  - master