From 782d8449a9169c85c1e0c786b40b9f4bedee68b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?T=C3=BCnde=20Em=C5=91ke=20Trif?= <trif.tunde@kifu.gov.hu>
Date: Mon, 2 Aug 2021 09:07:25 +0000
Subject: [PATCH] Add .gitlab-ci.yml

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..475b438
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,33 @@
+image: ruby:2.7.0
+
+variables:
+  JEKYLL_ENV: production
+  LC_ALL: C.UTF-8
+
+before_script:
+  - gem install bundler
+  - bundle install
+
+test:
+  stage: test
+  tags:
+  - docker
+  script:
+  - bundle exec jekyll build -d test
+  artifacts:
+    paths:
+    - test
+  except:
+  - master
+
+pages:
+  tags:
+  - docker
+  stage: deploy
+  script:
+  - bundle exec jekyll build -d public
+  artifacts:
+    paths:
+    - public
+  only:
+  - master
-- 
GitLab