diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 42ddd4cf34332609eab75981131b9cd2d63c8ca4..f02b35aa80ff4b375b901f45aa158bd19b9a7ff5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,10 +12,10 @@ prepare:
       when: never
     - if: $CI_PIPELINE_SOURCE == "merge_request_event"
       exists:
-        - resources
+        - resources/*
     - if: $CI_COMMIT_TAG
       exists:
-        - resources
+        - resources/*
   script:
     - to-static-jsonp --fn hd resources/* -o .
   artifacts: