Commit 932c4615 authored by Mindiell's avatar Mindiell

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

parent ea7db5db
Pipeline #1958 passed with stages
in 59 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment