Documentation: CI: GitLab Pages Example
Replace 'only' with 'rules'. 'only' is not actively developed anymore with GitLab (see https://docs.gitlab.com/ee/ci/yaml/#only--except)
This commit is contained in:
parent
f5598b2eee
commit
b862080006
|
@ -141,8 +141,8 @@ pages:
|
|||
- mdbook --version || cargo install mdbook
|
||||
script:
|
||||
- mdbook build -d public
|
||||
only:
|
||||
- master
|
||||
rules:
|
||||
- if: '$CI_COMMIT_REF_NAME == "master"'
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
|
Loading…
Reference in New Issue