.gitlab-ci.yml 403 Bytes
Newer Older
Carel van Niekerk's avatar
Carel van Niekerk committed
1
image: python:3.7.2-slim
2
3
4
5

test:
  stage: test
  script:
Carel van Niekerk's avatar
Carel van Niekerk committed
6
  - pip install -r requirements.txt
7
8
9
10
11
12
13
14
15
  - sphinx-build -b html . public
  only:
  - branches
  except:
  - master

pages:
  stage: deploy
  script:
Carel van Niekerk's avatar
Carel van Niekerk committed
16
  - pip install -r requirements.txt
17
  - sphinx-build -b html . public
Carel van Niekerk's avatar
Carel van Niekerk committed
18
  - cp Page/* public/
Carel van Niekerk's avatar
Carel van Niekerk committed
19
  - cp Docs/hhu-logo.png public/_static/hhu-logo.png
20
21
  artifacts:
    paths:
22
    - public
23
24
  only:
  - master