Skip to content
Snippets Groups Projects
Commit 0b1c97a2 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed only: specifications in .gitlab-ci.yml to depend on .gitlab-ci.yml too

parent 2c5f7e08
No related branches found
No related tags found
No related merge requests found
...@@ -77,6 +77,7 @@ stages: ...@@ -77,6 +77,7 @@ stages:
- src/**/*.{h,hpp,cpp,cu} - src/**/*.{h,hpp,cpp,cu}
- Documentation/Tutorials/**/*.{h,hpp,cpp,cu} - Documentation/Tutorials/**/*.{h,hpp,cpp,cu}
- "**/CMakeLists.txt" - "**/CMakeLists.txt"
- .gitlab-ci.yml
# Dummy build job to ensure that a pipeline is created for a merge request, even # Dummy build job to ensure that a pipeline is created for a merge request, even
# when there were no changes. # when there were no changes.
...@@ -90,6 +91,7 @@ dummy build job: ...@@ -90,6 +91,7 @@ dummy build job:
- src/**/*.{h,hpp,cpp,cu} - src/**/*.{h,hpp,cpp,cu}
- Documentation/Tutorials/**/*.{h,hpp,cpp,cu} - Documentation/Tutorials/**/*.{h,hpp,cpp,cu}
- "**/CMakeLists.txt" - "**/CMakeLists.txt"
- .gitlab-ci.yml
# Cuda builds are specified first because they take more time than host-only builds, # Cuda builds are specified first because they take more time than host-only builds,
# which can be allocated on hosts whitout GPUs. # which can be allocated on hosts whitout GPUs.
...@@ -401,6 +403,7 @@ build documentation: ...@@ -401,6 +403,7 @@ build documentation:
changes: changes:
- Documentation/**/* - Documentation/**/*
- src/TNL/**/*.{h,hpp} - src/TNL/**/*.{h,hpp}
- .gitlab-ci.yml
script: script:
- ./Documentation/build - ./Documentation/build
artifacts: artifacts:
...@@ -412,6 +415,10 @@ build documentation: ...@@ -412,6 +415,10 @@ build documentation:
deploy documentation: deploy documentation:
stage: deploy stage: deploy
only: only:
changes:
- Documentation/**/*
- src/TNL/**/*.{h,hpp}
- .gitlab-ci.yml
variables: variables:
- $TNL_DOC_DEPLOY_KEY - $TNL_DOC_DEPLOY_KEY
refs: refs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment