diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ca0b601e..a4b7a1a8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ stages: - build + - pages job_linux: stage: build @@ -16,6 +17,20 @@ job_linux: - "*.zip" - "grafx2*.tgz" +pages: + stage: pages + script: + - "NOLUA=1 API=x11 make htmldoc" + - "mkdir -p public/htmldoc && cp doc/html/* public/htmldoc/" + - "echo -e '\nGrafX2\n\n\n\n\n' > public/index.html" + - "cd public && tar xzf ../grafx2*doxygen.tgz" + artifacts: + paths: + - public + only: + - master + - gitlab-pages + job_win32: stage: build before_script: