]> git.zndr.dk Git - vuepress.git/commitdiff
Add .gitlab-ci.yml
authorJannik ZANDER <jannik@zndr.dk>
Fri, 13 Dec 2019 14:51:26 +0000 (15:51 +0100)
committerJannik ZANDER <jannik@zndr.dk>
Fri, 13 Dec 2019 14:51:26 +0000 (15:51 +0100)
.gitlab-ci.yml [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..583a023
--- /dev/null
@@ -0,0 +1,17 @@
+image: node:9.11.1
+
+pages:
+  cache:
+    paths:
+    - node_modules/
+
+  script:
+  - yarn install
+  - yarn run build
+
+  artifacts:
+    paths:
+    - public
+  
+  only:
+  - master
\ No newline at end of file