mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-12 22:35:51 +00:00
Update .gitlab-ci.yml
This commit is contained in:
parent
b97e0408c4
commit
0f577a5e64
1 changed files with 3 additions and 2 deletions
|
|
@ -23,8 +23,9 @@ before_script:
|
|||
# This job tests if the book compiles gracefully after a new addition
|
||||
test-build:
|
||||
stage: test
|
||||
only:
|
||||
- main
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
- if: $CI_COMMIT_BRANCH == "main" && $CI_PIPELINE_SOURCE == "push"
|
||||
script:
|
||||
- pip install -r requirements.txt
|
||||
- jupyter-book clean book/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue