From 04d0a3b877e3a4b565136fcdb488a2df4858b107 Mon Sep 17 00:00:00 2001 From: Caspar Jungbacker Date: Sun, 16 Apr 2023 19:55:48 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5297a79..92f0c84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: python:3.10-slim stages: - build + - deploy variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" @@ -25,3 +26,10 @@ jupyter-build: script: - pip install -r requirements.txt - jupyter-book build book/ + +push-html: + stage: deploy + only: + - main + script: + - git clone "https://RobOt:$ACCESS_TOKEN@gitlab.tudelft.nl/$CI_PROJECT_PATH.git"