Skip to content
Snippets Groups Projects
Commit 35808cd2 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

chmod Befehl sollte keinen Abbruch des Builds mehr verursachen ( war auch nicht vorgesehen )

Build wird nur noch für Änderungen auf dem Master Branch durchgeführt
parent 25213380
No related branches found
No related tags found
1 merge request!2chmod Befehl sollte keinen Abbruch des Builds mehr verursachen ( war auch nicht vorgesehen )
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment