Skip to content
Snippets Groups Projects
.gitlab-ci.yml 662 B
Newer Older
update:
  before_script:
    - which virtualbox
    - which vagrant
    - which composer
    - which git
    - which php
    # 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
    - 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