From ea3ee4f423e97fbaa37b123403e74f4615ce507e Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@suma-ev.de>
Date: Wed, 28 Aug 2019 14:09:35 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2c9de0c..20ccce0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
 stages:
   - prepare
+  - build
 
 prepare_node:
   stage: prepare
@@ -14,7 +15,7 @@ prepare_node:
       - public/css/all.css
   cache:
     # Cache per Branch
-    key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
+    key: "node-$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
     paths:
       - node_modules
   only:
@@ -30,6 +31,9 @@ prepare_composer:
     paths:
       - vendor
   cache:
-    key: "$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
+    key: "composer-$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
     paths:
-      - vendor
\ No newline at end of file
+      - vendor
+
+include:
+  - template: Jobs/Build.gitlab-ci.yml
\ No newline at end of file
-- 
GitLab