From b8d25b1fbcd26da15f2b5a1297c88520dd2fd869 Mon Sep 17 00:00:00 2001 From: gwen Date: Mon, 14 Aug 2023 11:33:50 +0200 Subject: [PATCH] =?UTF-8?q?pr=C3=A9paration=20du=20pipeline=20(stage=20Pag?= =?UTF-8?q?es)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..a831dc2 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +# The Docker image that will be used to build your app +image: alpine:latest +# Functions that should be executed before the build script is run +before_script: + - apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python + - python3 -m ensurepip + - pip3 install --no-cache --upgrade pip setuptools + - pip3 install sphinx + - apk --no-cache add make + - apk --no-cache add py-pygments +pages: + script: + - make html + - mv build/html/ ../public/ + artifacts: + paths: + # The folder that contains the files to be exposed at the Page URL + - public + rules: + # This ensures that only pushes to the default branch will trigger + # a pages deploy + - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH +