Commit 1b0f0cb7 authored by Mindiell's avatar Mindiell

Modification pour faire fonctionner le déploiement sur preprod

parent 2eb14fab
Pipeline #1961 passed with stages
in 1 minute and 2 seconds
......@@ -8,7 +8,6 @@ piplomes/
CACHE/
vendor/
pdf/
phinx.yml
app/env
.php_cs.cache
......
......@@ -2,6 +2,7 @@
# Ce script est utilisé pour paramétrer l'environnement du site
cd /home/don/don
git reset --hard
git pull origin $CI_BUILD_REF_NAME
git checkout $CI_BUILD_REF_NAME
......
paths:
migrations: %%PHINX_CONFIG_DIR%%/db/migrations
seeds: %%PHINX_CONFIG_DIR%%/db/seeds
environments:
default_migration_table: phinxlog
default_database: development
production:
adapter: mysql
host: %%PHINX_HOST%%
name: %%PHINX_DATABASE%%
user: %%PHINX_USER%%
pass: %%PHINX_PASS%%
port: %%PHINX_PORT%%
charset: utf8
development:
adapter: mysql
host: localhost
name: soutien
user: soutien
pass: 'soutien'
port: 3306
charset: utf8
testing:
adapter: mysql
host: localhost
name: testing_db
user: %%PHINX_TEST_USER%%
pass: %%PHINX_TEST_PASS%%
port: 3306
charset: utf8
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