Commit 2eb14fab authored by Mindiell's avatar Mindiell

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

parent 8e57eebc
Pipeline #1960 failed with stages
in 57 seconds
......@@ -13,11 +13,20 @@ if [ -e "phinx.yml" ]
then
case $CI_BUILD_REF_NAME in
master)
echo "master"
php vendor/robmorgan/phinx/bin/phinx migrate -e production;;
preprod)
echo "preprod"
php vendor/robmorgan/phinx/bin/phinx migrate -e development;;
esac
else
php vendor/robmorgan/phinx/bin/phinx init
case $CI_BUILD_REF_NAME in
master)
echo "init master"
php vendor/robmorgan/phinx/bin/phinx init -e production;;
preprod)
echo "init preprod"
php vendor/robmorgan/phinx/bin/phinx init -e development;;
esac
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