From ceff74bf2697e041c894315f71845b2062aac2ff Mon Sep 17 00:00:00 2001
From: Troy Lindsay <1863581-tlindsay42@users.noreply.gitlab.com>
Date: Tue, 21 Jul 2020 09:57:48 -0500
Subject: [PATCH] Add test build stage

---
 .gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eabccf2..ac64b08 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,18 @@ before_script:
   # (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
   # - pip install mkdocs-material
 
+test:
+  stage: test
+  script:
+  - mkdocs build --strict --verbose --site-dir test
+  artifacts:
+    paths:
+    - test
+  except:
+  - master
+
 pages:
+  stage: deploy
   script:
   - mkdocs build --strict --verbose
   artifacts:
-- 
GitLab