mirror of
https://gitlab.com/openlp/documentation.git
synced 2024-12-22 04:22:49 +00:00
Change CI configuration to build non-master branches in a test directory for testing/preview
This commit is contained in:
parent
deb8464299
commit
e145e001d1
@ -1,9 +1,12 @@
|
|||||||
image: alpine
|
image: alpine
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- apk --no-cache add make py3-setuptools python3-dev
|
||||||
|
- python3 -m pip install sphinx sphinx_rtd_theme
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- apk --no-cache add make py3-setuptools python3-dev
|
|
||||||
- python3 -m pip install sphinx sphinx_rtd_theme
|
|
||||||
- cd manual
|
- cd manual
|
||||||
- make html
|
- make html
|
||||||
- mv build/html/ ../public/
|
- mv build/html/ ../public/
|
||||||
@ -12,3 +15,15 @@ pages:
|
|||||||
- public
|
- public
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- cd manual
|
||||||
|
- make html
|
||||||
|
- mv build/html/ ../test/
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- test
|
||||||
|
except:
|
||||||
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user