From 4570eb16650ab28083fe77eb3348602d70b03985 Mon Sep 17 00:00:00 2001 From: James Polley Date: Sun, 15 Oct 2017 16:20:36 +1000 Subject: [PATCH] Test sphinx generation on every commit Produces a downloadable artifact --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e0a97126..2363578a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,7 +66,7 @@ k8s-ticket-testing-deploy: name: staging url: https://ticket-testing.lca2018.org -pages: +.docs_template: &sphinx image: alpine script: - apk --no-cache add py2-pip python-dev make @@ -78,8 +78,15 @@ pages: artifacts: paths: - public + +pages: + <<: *sphinx only: - master environment: name: docs url: https://lca2018.gitlab.io/symposion_app/ + +test_sphinx: + <<: *sphinx + stage: test