.gitlab-ci.yml 323 Bytes
Newer Older
Loic Huder's avatar
Pages  
Loic Huder committed
1 2
image: python

3 4 5 6 7 8 9
stages:
  - deploy

pages:
  stage: deploy

  script:
Loic Huder's avatar
Pages  
Loic Huder committed
10
    - pip3 install rst2html5 jupyter
11 12
    - make presentations
    - mkdir .public
Loic Huder's avatar
Pages  
Loic Huder committed
13 14
    - cp ipynb/*.html .public
    - cp -rt .public ipynb/fig ipynb/reveal.js
15 16 17 18
    - mv .public public

  artifacts:
    paths:
Loic Huder's avatar
Pages  
Loic Huder committed
19 20
      - public

21 22
  only:
    - master
Loic Huder's avatar
Pages  
Loic Huder committed
23
    - web