Test sphinx generation on every commit

Produces a downloadable artifact
This commit is contained in:
James Polley 2017-10-15 16:20:36 +10:00
parent 1eb28f2c80
commit 4570eb1665

View file

@ -66,7 +66,7 @@ k8s-ticket-testing-deploy:
name: staging name: staging
url: https://ticket-testing.lca2018.org url: https://ticket-testing.lca2018.org
pages: .docs_template: &sphinx
image: alpine image: alpine
script: script:
- apk --no-cache add py2-pip python-dev make - apk --no-cache add py2-pip python-dev make
@ -78,8 +78,15 @@ pages:
artifacts: artifacts:
paths: paths:
- public - public
pages:
<<: *sphinx
only: only:
- master - master
environment: environment:
name: docs name: docs
url: https://lca2018.gitlab.io/symposion_app/ url: https://lca2018.gitlab.io/symposion_app/
test_sphinx:
<<: *sphinx
stage: test