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:
- test
- master
pages:
stage: deploy
script:
- mkdocs build --strict --verbose
artifacts:
paths:- public
only:
- public
- 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