From 351dd9e83c52ec8f997dcc3209863df185fa57d1 Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@pm.me> Date: Mon, 9 Sep 2024 08:49:34 +0200 Subject: [PATCH] added CI --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f498cbc..419953c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,6 +71,13 @@ build:book: - mdbook test - mdbook build +build:exercises: + stage: build + script: + - cd exercises + - mdbook test + - mdbook build + build:slides: stage: build script: @@ -87,6 +94,16 @@ deploy:book: - mdbook build - rsync -avz book/html/* ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/rust-101/book/ +deploy:exercises: + stage: deploy + only: + - main + - merge_request + script: + - cd exercises + - mdbook build + - rsync -avz book/html/* ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/rust-101/book/ + deploy:slides: stage: deploy only: -- GitLab