From 866fb5d0d64db19f46bad390ce77975f7c7f9839 Mon Sep 17 00:00:00 2001
From: resynth1943 <resynth1943@tutanota.com>
Date: Sat, 27 Jun 2020 01:58:23 +0100
Subject: [PATCH] Add GitLab CI config

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..79f17f3
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,16 @@
+image: alpine:latest
+
+pages:
+  stage: deploy
+  script:
+    - apk add --no-cache nodejs
+    - apk add --no-cache npm
+    - npm install -g pnpm
+    - pnpm install
+    - npm run build
+    - cp -r _site ./public/
+  artifacts:
+    paths:
+      - public
+  only:   
+    - master
-- 
GitLab