Skip to content

Commit

Permalink
ci: Pages and build:documentation need to have the same limitations
Browse files Browse the repository at this point in the history
The 'pages' depends on the 'build:documentation' one. However, the
build one has some limitations that the 'pages' one does not have
one. Therefore, the 'deploy' job is always called on changes to master
while 'build:documentation' has not been called because of its
"changes" limitations. This will result in a ci error.

This issue is fixed by ensuring that the 'build:documentation' and
'pages' jobs have the same limitations.
  • Loading branch information
ptitjano committed Oct 11, 2024
1 parent 783cad1 commit 5080684
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ pages:
only:
refs:
- master
changes:
- "src/*.h"
- "src/*.cpp"
- "website/docs/*.md"
- ".gitlab-ci.yml"
needs:
- job: build:documentation
artifacts: true
Expand Down

0 comments on commit 5080684

Please sign in to comment.