diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81ff6e9db533cd4e42757db93d167922503501b7..97b0df8d22464c1b57a82d3b00cc85e48d192137 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,3 +45,15 @@ r:docker: only: - master +pages: + tags: + - pages, docker + script: + - mkdir public + - ./make_slides.sh + artifacts: + paths: + - public + only: + - pages + diff --git a/make_slides.sh b/make_slides.sh new file mode 100644 index 0000000000000000000000000000000000000000..959ce5586685aae8f3fbe4f77b5187dfe58d89b3 --- /dev/null +++ b/make_slides.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +set -x + +notebooks="tp-gitlab-ci.ipynb" +jupyter-nbconvert $notebooks --to slides --reveal-prefix $revealprefix --output-dir=public +jupyter-nbconvert index.ipynb --to html --output-dir=public +cp *.ipynb public/