diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 87d74522889a01600b1039ee7b6c8a7ae02201c0..58a023de7d3a3f0780d741c17994694924508f5f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,15 +8,18 @@ update:
     - which php
     # Pfad zum neu geklonten Repo
     - path=`pwd`
-    - cd ~/
     # Klone das Repo neu, falls es noch nicht existiert
     - if [ ! -d ~/MetaGer ] ; then git clone "$path" ; fi
     # Falls notwendig Laravel-Framework initialisieren:
-    - cd MetaGer
+    - cd ~/MetaGer
     - composer update
-    - chmod -R 777 storage/ bootstrap/cache/
+    - tmp=$(chmod -R 777 storage/ bootstrap/cache)
     - if [ ! -f .env ] ; then cp .env.example .env ; fi
     - if [ $(grep "SomeRandomString" .env) ] ; then php artisan key:generate ; fi
+    # Falls notwendig Homestead Server intialisieren:
+    - cd ~/
   script:
     - cd ~/MetaGer
-    - git pull "$path"
\ No newline at end of file
+    - git pull "$path"
+  only:
+    - master@gitlab.metager3.de:1234/
\ No newline at end of file