From e59386ec1dfa5ad68d1d24ff9dacf550d49783af Mon Sep 17 00:00:00 2001 From: Etienne Kornobis <ekornobis@gmail.com> Date: Tue, 21 May 2024 10:48:53 +0200 Subject: [PATCH] Adding stub CI pages --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..be7ac8e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,26 @@ +stages: + - build + - deploy + +variables: + PAGES: $CI_PROJECT_DIR/public + +before_script: + - pip install jupyter nbconvert + +build_notebooks: + stage: build + script: + - mkdir -p $PAGES + - jupyter nbconvert --to html notebooks/*.ipynb --output-dir=$PAGES + +pages: + stage: deploy + script: + - mkdir -p public + - cp -r $PAGES/* public + artifacts: + paths: + - public + only: + - main -- GitLab