title: Why does GitLab Ci not find my cached folder?
body: <p>I have a list of CI jobs running in my GitLab and the Caching does not work as expected:</p>
  <p>This is how my docu-generation job ends:</p>
  <pre><code>[09:19:33] Documentation generated in ./documentation/ in 4.397 seconds using gitbook theme
  Creating cache angular...
  00:02
  WARNING: frontend/node_modules: no matching files  
  frontend/documentation: found 136 matching files   
  No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally. 
  Created cache
  Job succeeded
  </code></pre>
  <p>I then start a deployment Job (to GitLab Pages) but it fails because it doesn't find the documentation-folder:</p>
  <pre><code>$ cp -r frontend/documentation .public/frontend
  cp: cannot stat 'frontend/documentation': No such file or directory
  </code></pre>
  <p>this is the cache config of the generation:</p>
  <pre><code>generate_docu_frontend:
    image: node:12.19.0
    stage: build
    cache:
      key: angular
      paths:
        - frontend/node_modules
        - frontend/documentation
    needs: [&quot;download_angular&quot;]
  </code></pre>
  <p>and this is for deployment:</p>
  <pre><code>deploy_documentation:
    stage: deploy
    cache:
      - key: angular
        paths:
          - frontend/node_modules
          - frontend/documentation
        policy: pull
      - key: laravel
        paths:
          - backend/vendor
          - backend/public/docs
        policy: pull
  </code></pre>
  <p>does anyone know why my documentation folder is missing?</p>