summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <huth@tuxfamily.org>2025-01-18 08:37:04 (GMT)
committerThomas Huth <huth@tuxfamily.org>2025-01-18 11:03:35 (GMT)
commite5b9cf0dd96a30cc02a58fcae9d236398cb0f7bf (patch)
treef2d06c068e31c06f8c50fa5f87d4062d2cb1cf1a
parent2ab1b66da0cf3ec3c1b323dbd584913bccde8854 (diff)
downloadhatari-master.zip
hatari-master.tar.gz
Add pages job to deploy the docs to the websiteHEADmaster
-rw-r--r--.gitlab-ci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9f8a574..12b8678 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,3 +33,18 @@ build-mingw:
- cmake -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-mingw32-win64_32.cmake
-DENABLE_WERROR:BOOL=1 .
- make -j$(nproc)
+
+pages:
+ stage: deploy
+ script:
+ - mkdir -p public/doc
+ - cp doc/*.html doc/*.css doc/*.js doc/*.txt public/doc/
+ - cp -r doc/images public/doc/
+ - apt-get install -y -qq doxygen
+ - cd doc/doxygen/ ; doxygen ; cd ../..
+ - cp -r doc/doxygen/html public/doxygen/
+ artifacts:
+ paths:
+ - public
+ rules:
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH