Skip to content
GitLab
Menu
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
2eb14fab
Commit
2eb14fab
authored
Jul 23, 2018
by
Mindiell
Browse files
Modification du fichier d'installation pour prendre en compte le site de dev (3)
parent
8e57eebc
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ci/install.sh
View file @
2eb14fab
...
...
@@ -13,11 +13,20 @@ if [ -e "phinx.yml" ]
then
case
$CI_BUILD_REF_NAME
in
master
)
echo
"master"
php vendor/robmorgan/phinx/bin/phinx migrate
-e
production
;;
preprod
)
echo
"preprod"
php vendor/robmorgan/phinx/bin/phinx migrate
-e
development
;;
esac
else
php vendor/robmorgan/phinx/bin/phinx init
case
$CI_BUILD_REF_NAME
in
master
)
echo
"init master"
php vendor/robmorgan/phinx/bin/phinx init
-e
production
;;
preprod
)
echo
"init preprod"
php vendor/robmorgan/phinx/bin/phinx init
-e
development
;;
esac
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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