From dd16d4238a0ad38317f06b7d1d804eb55f2a1698 Mon Sep 17 00:00:00 2001 From: ROTT THOMAS <thomas.rott@etu.unistra.fr> Date: Thu, 21 Dec 2023 18:03:19 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index da9baa2..a9d0166 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,20 +1,21 @@ -# This file is a template, and might need editing before it works on your project. # To contribute improvements to CI/CD templates, please follow the Development guide at: # https://docs.gitlab.com/ee/development/cicd/templates.html # This specific template is located at: -# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml +# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/Doxygen.gitlab-ci.yml + +default: + # Full project: https://gitlab.com/pages/doxygen + image: alpine -# Full project: https://gitlab.com/pages/plain-html pages: - stage: deploy - environment: production script: - - mkdir .public - - cp -r ./doc/html/* .public - - rm -rf public - - mv .public public + - apk update && apk add doxygen + - doxygen ./doc/ + - mv doc/html/ public/ + environment: production artifacts: paths: - public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + -- GitLab