Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
don
Commits
986527bf
Commit
986527bf
authored
Jul 23, 2018
by
Mindiell
Browse files
Mise à jour du fichier d'installation sur la plateforme de dev (2)
parent
c8a8a11d
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ci/install.sh
View file @
986527bf
#!/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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment