Run Pipeine > failed

I want to make a site with markdown refer to GitLab Pages examples / mkdocs · GitLab .
It works well at the beginning, but now each time after commit and Ruining pile line, I will get “failed”.

.gitlab-ci.yml is the same as referred site.
image: python:3.8-buster

before_script:

  • pip install -r requirements.txt

test:
stage: test
script:

  • mkdocs build --strict --verbose --site-dir test
    artifacts:
    paths:
    • test
      except:
  • master

pages:
stage: deploy
script:

  • mkdocs build --strict --verbose
    artifacts:
    paths:
    • public
      only:
  • master

This is error after failed.
CI/CD > Jobs

Aborted with 1 Configuration Errors!
Cleaning up file based variables
ERROR: Job failed: exit code 1

Please give me any advice to solve this problem.

Thank you

The issue does not appear to be your .gitlab-ci.yml.

The terminal error message Aborted with 1 Configuration Errors! is something the mkdocs project directly produces in response to a bad configuration in mkdocs.yml.

If you’ve edited your mkdocs.yml after using the example, check the job log again for lines preceding the above message for specifics on which configuration lines it has an issue with, and reference the Configuration - MkDocs page for more information.

1 Like

Thank you for the advice.

I could find the error in job log and now status is “passed”.

Thank you very much!!