Commit 986527bf authored by Mindiell's avatar Mindiell

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

parent c8a8a11d
Pipeline #1956 failed with stages
in 1 minute and 26 seconds
#!/bin/bash
# Ce script est utilisé pour paramétrer l'environnement du site
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
cd /home/don/don
git pull origin $CI_BUILD_REF_NAME
git checkout $CI_BUILD_REF_NAME
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