From 8ec6b6e9ae82c78e2ca9acaa469b4559bbc1a38b Mon Sep 17 00:00:00 2001
From: Josh Morgenstern <josh@morgenstern.dev>
Date: Sun, 16 May 2021 00:19:57 +0200
Subject: [PATCH] [#25] add artifact upload

---
 .gitlab-ci.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6aa10e6c..9b3f7b55 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,12 @@ build_ubuntu_gcc:
     - cd debug
     - cmake -DCMAKE_BUILD_TYPE=Debug ..
     - cmake --build .
+  artifacts:
+    name: "Documentation - $CI_PIPELINE_ID"
+    paths:
+      - docs/html
+      - docs/latex
+    expire_in: never
 
 build_win10_msvc:
   variables:
@@ -23,4 +29,5 @@ build_win10_msvc:
     - mkdir debug
     - cd debug
     - cmake -DCMAKE_BUILD_TYPE=Debug ..
-    - cmake --build .
\ No newline at end of file
+    - cmake --build .
+  
\ No newline at end of file
-- 
GitLab