diff --git a/{{cookiecutter.repo_name}}/.gitlab-ci.yml b/{{cookiecutter.repo_name}}/.gitlab-ci.yml
index fbe82d998fb5880d7f8bf1956dba95d99b03b88b..37aae9f39c0df37e10c09f158b751812210f7fbd 100644
--- a/{{cookiecutter.repo_name}}/.gitlab-ci.yml
+++ b/{{cookiecutter.repo_name}}/.gitlab-ci.yml
@@ -43,7 +43,7 @@ diagram:
     - "./gradlew generateGrammarDiagrams"
   artifacts:
     paths:
-      - "src/gen/resources"
+      - "src/gen/resources/{{cookiecutter.project_short_name}}Grammar.png"
 
 ragdoc_build:
   image:
@@ -89,7 +89,7 @@ pages:
   before_script:
     - pip install -r pages/requirements.txt
   script:
-    - cp -r src/gen/resources/diagrams/ pages/docs/diagrams
+    - cp -r src/gen/resources/{{cookiecutter.project_short_name}}Grammar.png pages/docs/diagrams
     - cd pages && mkdocs build
   artifacts:
     paths: