GitLab Pages: deploy suddenly fails without changes

Hi,

I have a hugo website which I build and deploy to GitLab Pages using GitLab CI. I use a schedule to build and deploy it every full hour. This is my .gitlab-ci.yml:

image: monachus/hugo

variables:
  GIT_SUBMODULE_STRATEGY: recursive
  HUGO_ENV: production

pages:
  script:
  - hugo
  artifacts:
    paths:
    - public
  only:
  - master

This worked fine for the last two weeks, but today at 20:00 MEZ the deploy suddenly started to fail with this message:

pages:deploy - Use License.feature_available? for features that cannot be restricted to only a subset of projects or namespaces

The problem is, that I haven’t made a change to the repository since over a week, so I don’t understand where this is coming from.

Any ideas what I could do?

1 Like

I got exactly the same error. Seems to be a Gitlab CI bug.

See Pages:deploy error "Use 'license.feature_available?' for features that cannot be restricted

It seems that GitLab fixed this, for the last few hours the pipeline succeeded.