[tracker/sam/website: 2/2] Add CI to build website



commit 83b0ffca5680ca4fd157fa49ebb9d05059f08c42
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Dec 2 12:25:15 2019 +0100

    Add CI to build website
    
    I'm not sure if this will work. Let's see.

 .gitlab-ci.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0616811d8..4ce62c004 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -46,3 +46,16 @@ test-fedora-latest:
     when: always
     paths:
     - build/meson-logs/testlog.txt
+
+pages:
+  before_script:
+    - pip3 install mkdocs mkdocs-cinder
+  script:
+    - mkdocs build
+    - mv site public
+  artifacts:
+    paths:
+      - public
+  only:
+    - master
+    - sam/website


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]