From c48dc3ea6f3880573861e3bcd17a9200400b5cdc Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 21 Nov 2020 21:53:37 +0200
Subject: [PATCH] Deploy using GitLab CI.

---
 .gitlab-ci.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..86b92fe
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,14 @@
+---
+build:
+  tags: ["host01.shore.co.il"]
+  script:
+    - cid="$(basename $(cat /proc/1/cpuset))"
+    - docker pull adarnimrod/presentation
+    - >-
+      docker run
+      --rm
+      --volumes-from "$cid"
+      --volume "/var/www/www.shore.co.il/resume:/builds/nimrod/resume/output"
+      --workdir "/builds/nimrod/resume"
+      adarnimrod/presentation
+      make DESTDIR=output
-- 
GitLab