From 823d3866ca2a0c329255e0815cbd63bff5b73e8c Mon Sep 17 00:00:00 2001 From: Volker von Holt <v.von-holt@ostfalia.de> Date: Sun, 9 Jun 2024 10:13:38 +0000 Subject: [PATCH] Update file .gitlab-ci.yml --- .gitlab-ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f1699a..e5220b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,20 @@ # This file is a template, and might need editing before it works on your project. # Full project: https://gitlab.com/pages/plain-html -image: busybox +image: python:3.8-alpine + +stages: + - deploy pages: + tags: + - sphinx stage: deploy script: - - echo "The site will be deployed to $CI_PAGES_URL" + - python3 -m pip install sphinx rtd + - sphinx-build -b html docs/source/ public/ artifacts: paths: - public - rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + only: + - master -- GitLab