From de0ee400ee18efde2b76f47d49b641e7211c7e15 Mon Sep 17 00:00:00 2001 From: Etienne Kornobis <ekornobis@gmail.com> Date: Tue, 21 May 2024 11:15:54 +0200 Subject: [PATCH] update ci --- .gitlab-ci.yml | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3019ff9..e0e84fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,22 +1,27 @@ image: python:3.9-slim-buster stages: - - build - - deploy + - build + - deploy before_script: - - pip install jupyter nbconvert + - pip install jupyter nbconvert build_notebooks: - stage: build - script: - - mkdir -p public - - jupyter nbconvert --to html notebooks/*.ipynb --output-dir=public - + stage: build + script: + - mkdir -p public + - jupyter nbconvert --to html notebooks/*.ipynb --output-dir=public + artifacts: + paths: + - public + pages: - stage: deploy - artifacts: - paths: - - public - only: - - master + stage: deploy + script: + - echo "Deploying Pages" + artifacts: + paths: + - public + only: + - master -- GitLab