Commit 4672b84f authored by Mindiell's avatar Mindiell

Tentative de déploiement automatique sur le serveur de dev

parent 6addd515
Pipeline #1954 passed with stages
in 1 minute and 25 seconds
#!/bin/bash
# Ce script est utilisé pour paramétrer l'environnement du site
cd /home/don/don
git pull origin $CD_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
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