Pages:deploy retried multiple times then pipeline ""fails""

This is GitLab self hosted version, 14.4.1.

I’m publishing pages with Jekyll and this CI config:

image: ruby:3

cache:
  paths:
    - vendor/

before_script:
  - bundle install --path vendor

pages:
  stage: deploy
  script:
    - bundle exec jekyll build -d public
  artifacts:
    paths:
      - public
  only:
    - master

The files themselve are well deployed; but there is a glitch.

Just after the pipeline finished it is shown as suceeded (green) then after about 30s the pages:deploy job seems to re-trigger by itself and fail. Looks very weird to me:

So in the end, the pipeline is shown as failed but on the ground it somehow “worked”.

Any idea what could be wrong ?

In fact the same issue happens starting from scratch with a new project using the default Jekyll template.

Opened pages:deploy retried multiple times then pipeline ""fails"" (#346111) · Issues · GitLab.org / GitLab · GitLab