From 4684feb82471a6afdcc5e6536a9c3a9a7bd864ef Mon Sep 17 00:00:00 2001
From: Troy Lindsay <tlindsay42@users.noreply.github.com>
Date: Sat, 25 Jul 2020 21:45:59 -0500
Subject: [PATCH] Update GitLab CI section of README to match

---
 README.md | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index fda19ac..baf7855 100644
--- a/README.md
+++ b/README.md
@@ -18,15 +18,22 @@ defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
 image: python:3.8-buster
 
 before_script:
-  - pip install mkdocs
-  ## Add your custom theme if not inside a theme_dir
-  ## (https://github.com/mkdocs/mkdocs/wiki/MkDocs-Themes)
-  # - pip install mkdocs-material
+  - pip install -r requirements.txt
+
+test:
+  stage: test
+  script:
+  - mkdocs build --strict --verbose --site-dir test
+  artifacts:
+    paths:
+    - test
+  except:
+  - master
 
 pages:
+  stage: deploy
   script:
-  - mkdocs build
-  - mv site public
+  - mkdocs build --strict --verbose
   artifacts:
     paths:
     - public
-- 
GitLab