update: before_script: # Abhängigkeiten überprüfen - which virtualbox - which vagrant - which composer - which git - which php # Pfad zum neu geklonten Repo - path=`pwd` # Klone das Repo neu, falls es noch nicht existiert - if [ ! -d ~/MetaGer ] ; then git clone "$path" ; fi # Falls notwendig Laravel-Framework initialisieren: - cd ~/MetaGer - composer update - 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" only: - master@gitlab.metager3.de:1234/