diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 051869fe4d94bc54b9d93d0a0eb9582048381d4c..42c57b4b6386c6aeb20ebc0bd5ae1a8793d60ef7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,7 +62,7 @@ shellcheck:
   allow_failure: true
   script:
   - which shellcheck || apt-get update && apt-get install -y shellcheck
-  - shellcheck *.sh
+  - find . -name *.sh -not -path "./docs.it4i/*" -not -path "./site/*" -exec shellcheck {} +
 
 deploy to stage:
   environment: stage