From 79093473f324dd57dcaf3283d7907fd31966cecc Mon Sep 17 00:00:00 2001
From: Jannik Dunkelau <jannik.dunkelau@hhu.de>
Date: Mon, 14 Feb 2022 09:40:51 +0100
Subject: [PATCH] Add gitlab ci to assemble the zip file

---
 .gitlab-ci.yml | 8 ++++++++
 Makefile       | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..bff6ec1
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,8 @@
+zip:
+  stage: deploy
+  script:
+  - make zip
+  artifacts:
+    name: thesis.zip
+    paths:
+    - thesis.zip
diff --git a/Makefile b/Makefile
index 9432d2a..9bf2756 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ clean:
 
 .PHONY: zip
 zip:
-	zip thesis -x *.git/* -x *.synctex.gz -r .
+	zip thesis -x *.git/* -x *.synctex.gz -x .gitlab-ci.yml -r .
 
 .PHONY: bibtool
 bibtool:
-- 
GitLab