Commit c8a8a11d authored by Mindiell's avatar Mindiell

Mise à jour du fichier d'installation sur la plateforme de dev

parent 4672b84f
Pipeline #1955 failed with stages
in 1 minute
#!/bin/bash
# Ce script est utilisé pour paramétrer l'environnement du site
cd /home/don/don
git pull origin $CD_BUILD_REF_NAME
cd /home/don
if [ -d $CI_PROJECT_NAME ]
then
cd $CI_PROJECT_NAME
git reset --hard
git pull origin $CI_BUILD_REF_NAME
git checkout $CI_BUILD_REF_NAME
else
git clone $CI_BUILD_REPO $CI_PROJECT_NAME
cd $CI_PROJECT_NAME
fi
composer install --no-dev
composer update
......
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