.gitlab-ci.yml 341 Bytes
Newer Older
Jochen Schulz's avatar
Jochen Schulz committed
1
2
3
stages:
  - build
  - deploy
Jochen Schulz's avatar
Jochen Schulz committed
4

Jochen Schulz's avatar
Jochen Schulz committed
5
6
7
8
build:
  stage: build
  before_script:
    - cd docs
Jochen Schulz's avatar
Jochen Schulz committed
9
  script:
Jochen Schulz's avatar
Jochen Schulz committed
10
    -  nix-shell -p python3Packages.sphinx python3Packages.numpydoc python3Packages.pnam --run "make html"
Jochen Schulz's avatar
Jochen Schulz committed
11
12
13
  artifacts:
    paths:
      - docs/_build/
Jochen Schulz's avatar
Jochen Schulz committed
14
15
16
17

deploy:
  stage: deploy
  script:
Jochen Schulz's avatar
Jochen Schulz committed
18
    -  rsync -av docs/_build/html/ /var/www/num/proxtoolbox/