Skip to content
Extraits de code Groupes Projets
Valider 932c4615 rédigé par Mindiell's avatar Mindiell
Parcourir les fichiers

Modification du fichier d'installation pour prendre en compte le site de dev

parent ea7db5db
Branches
Étiquettes
1 requête de fusion!37Mise en production
......@@ -11,7 +11,12 @@ composer update
# Let's run the migrations
if [ -e "phinx.yml" ]
then
php vendor/robmorgan/phinx/bin/phinx migrate -e production
case $CI_BUILD_REF_NAME in
production)
php vendor/robmorgan/phinx/bin/phinx migrate -e production;;
development)
php vendor/robmorgan/phinx/bin/phinx migrate -e development;;
esac
else
php vendor/robmorgan/phinx/bin/phinx init
fi
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter