mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 23:05: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
|
# This job tests if the book compiles gracefully after a new addition
|
||||||
test-build:
|
test-build:
|
||||||
stage: test
|
stage: test
|
||||||
only:
|
rules:
|
||||||
- main
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
- if: $CI_COMMIT_BRANCH == "main" && $CI_PIPELINE_SOURCE == "push"
|
||||||
script:
|
script:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- jupyter-book clean book/
|
- jupyter-book clean book/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue