Skip to content
.gitlab-ci.yml 506 B
Newer Older
image: alpine

Bengfort's avatar
Bengfort committed
test:
  script:
  - apk --no-cache add python3 py3-pip
  - pip3 install sphinx sphinx-rtd-theme
Bengfort's avatar
Bengfort committed
  - sphinx-build -W -b html source build/html/en
Bengfort's avatar
Bengfort committed

pages:
  script:
Bengfort's avatar
Bengfort committed
  - apk --no-cache add python3 py3-pip
  - pip3 install sphinx sphinx-rtd-theme
TiG's avatar
TiG committed
  - sphinx-build -b html source build/html/en
  - sphinx-build -b html -D language=de source build/html/de
TiG's avatar
TiG committed
  - mv build/html/ public/
  - mv source/_static/redirect/index.html public/index.html
  artifacts:
    paths:
    - public
  only:
Bengfort's avatar
Bengfort committed
  - main