Martin Blanchard pushed to branch mablanch/51-user-facing-docs at BuildGrid / buildgrid
Commits:
-
93f58464
by Martin Blanchard at 2018-08-15T13:09:04Z
1 changed file:
Changes:
... | ... | @@ -40,6 +40,16 @@ run-dummy-job-debian: |
40 | 40 |
image: buildstream/buildstream-debian
|
41 | 41 |
<<: *dummy-job
|
42 | 42 |
|
43 |
+build-docs:
|
|
44 |
+ stage: test
|
|
45 |
+ script:
|
|
46 |
+ - pip3 install --editable ".[docs]"
|
|
47 |
+ - make -C docs html
|
|
48 |
+ - cp -rf docs/build/html public
|
|
49 |
+ artifacts:
|
|
50 |
+ paths:
|
|
51 |
+ - public/
|
|
52 |
+ |
|
43 | 53 |
|
44 | 54 |
coverage:
|
45 | 55 |
stage: post
|
... | ... | @@ -61,10 +71,9 @@ pages: |
61 | 71 |
stage: post
|
62 | 72 |
dependencies:
|
63 | 73 |
- tests-debian-stretch
|
74 |
+ - build-docs
|
|
64 | 75 |
script:
|
65 | 76 |
- mv coverage/ public/
|
66 | 77 |
artifacts:
|
67 | 78 |
paths:
|
68 | 79 |
- public/
|
69 |
- only:
|
|
70 |
- - master
|