I have a simple static website with a .gitlab-ci.yml
for gitlab pages:
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
- rm -rf public/.codio
- rm -rf public/.git
- rm -rf public/.gitlab-ci.yml
- rm -rf public/.studio
artifacts:
paths:
- public
only:
- master
When I push the repository using a deploy key, it fails. There is no obvious error message until I mouse-over the “error” badge which shows The pipeline failed due to the user not being verified
:
Why does it fail when using the deploy key? I can confirm the creator of the deploy key is the same user that created the repository.