Commit a18a38f9 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

CI: split build and deploy documentation, use artifacts

parent 19c24c1f
Loading
Loading
Loading
Loading
+18 −4
Original line number Diff line number Diff line
@@ -393,20 +393,34 @@ mpi_benchmarks_tools_python_Release:
        WITH_PYTHON: "yes"




build documentation:
    stage: build
    only:
        changes:
            - Documentation/**/*
            - src/TNL/**/*.{h,hpp}
    script:
        - ./Documentation/build
    artifacts:
        paths:
            - ./Documentation/html/
    tags:
        - doxygen

deploy documentation:
    stage: deploy
    only:
        variables:
            - $TNL_DOC_DEPLOY_KEY
        changes:
            - Documentation/**/*
            - src/TNL/**/*.{h,hpp}
        refs:
            - develop
            - schedules
            - triggers
    dependencies:
        - build documentation
    script:
        - ./Documentation/build
        - ./Documentation/deploy
    tags:
        - doxygen