diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..0de05137155cef8c421edf95c95306b34df5b23f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+generator
+static
+build
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000000000000000000000000000000000..3c488828bb4c3f0d1aea61ca1b625397ddac21d5
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,19 @@
+all:
+  only:
+    - master
+  script:
+    - node --version
+    - rm -rf build
+    - if [ -f generator ] ; then cd generator; git pull; cd ..; else git clone git@git.ok1kvk.cz:ok1kvk.cz/generator.git; fi
+    - if [ -f static    ] ; then cd static;    git pull; cd ..; else git clone git@git.ok1kvk.cz:ok1kvk.cz/static.git;    fi
+    - cd generator/; npm install; cd ..
+    - node generator/index.js --contentdir . --staticdir static --themedir generator/theme --builddir build --noserver
+    - generator/upload
+
+cache:
+  paths:
+    - generator/
+    - static/
+
+# Needs following env var: LFTP_PASSWORD
+