Skip to content
Snippets Groups Projects
.gitlab-ci.yml 738 B
Newer Older
update:
  before_script:
    - which virtualbox
    - which vagrant
    - which composer
    - which git
    - which php
Dominik Hebeler's avatar
Dominik Hebeler committed
    - cd ~/
    # Klone das Repo neu, falls es noch nicht existiert
    - if [ ! -d ~/MetaGer ] ; then git clone "$path" ; cd ~/MetaGer ; composer update ; chmod -R 777 storage/ bootstrap/cache ; fi
    # Falls notwendig Laravel-Framework initialisieren:
    - 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 ~/