Merge branch 'test-builds' into 'master'

Change CI configuration to build non-master branches in a test directory for testing/preview

See merge request openlp/documentation!4
This commit is contained in:
Tomas Groth 2019-04-18 09:52:34 +00:00
commit 5e12ef30a5

View File

@ -1,9 +1,12 @@
image: alpine
pages:
script:
before_script:
- apk --no-cache add make py3-setuptools python3-dev
- python3 -m pip install sphinx sphinx_rtd_theme
pages:
stage: deploy
script:
- cd manual
- make html
- mv build/html/ ../public/
@ -12,3 +15,15 @@ pages:
- public
only:
- master
test:
stage: test
script:
- cd manual
- make html
- mv build/html/ ../test/
artifacts:
paths:
- test
except:
- master