#!/bin/bash # Ce script est utilisé pour paramétrer l'environnement du site
cd /home/don/don git pull origin $CI_BUILD_REF_NAME git checkout $CI_BUILD_REF_NAME
composer install --no-dev composer update # Let's run the migrations if [ -e "phinx.yml" ] then php vendor/robmorgan/phinx/bin/phinx migrate -e production else php vendor/robmorgan/phinx/bin/phinx init fi