GitLab Pages serves old content

I’m using GitLab Pages on free GitLab hosting. Yesterday I’ve set it up and it works and showed the correct content. Now if new CI runners are done, the pages task seems to be uploading the content, but the Pages link actually keeps serving old content.

Any idea how the caching with GitLab Pages works, and how I can get it to serve new content? (It’s been at least 10 CI runs with successful pages tasks)

This is how every pages task output looks, looks like a success:

This is my .gitlab-ci.yml:

image: node:9.8.0

#
# lint_and_test runs the linter and executes the tests
#
lint_and_test:
  stage: test
  cache:
    paths:
    - node_modules/
  script:
    - yarn
    - yarn lint

#
# pages published the result to GitLab Pages
# (only if the test stage was successful)
#
pages:
  stage: deploy
  cache:
    paths:
    - node_modules/
  script:
    - ls -alh
    - yarn
    - yarn build
    - mv dist public
    - find public/
  artifacts:
    paths:
    - public
  only:
  - "demo-new"

Btw, I do not see any “pages:deploy” job:

25

So it seems Pages are actually updating, but only after waiting for several hours… Not sure if there is anything I can do as developer, guess it’s either some weird caching settings or performance problems on GitLab’s side.

Too bad, currently Pages is only semi-useful, if new deploys aren’t visible for a couple of hours.