Commit afc7f8bb authored by Dominik Hebeler's avatar Dominik Hebeler

setting the correct app_env

parent 7d17acc1
......@@ -11,6 +11,8 @@ update(144.76.113.134):
- which sqlite3
script:
- sh build.sh
variables:
STAGE: production
update(metager2):
tags:
......@@ -25,6 +27,8 @@ update(metager2):
- which sqlite3
script:
- sh build.sh
variables:
STAGE: production
update(metager3.de):
tags:
......@@ -38,4 +42,6 @@ update(metager3.de):
- which php
- which sqlite3
script:
- sh build.sh
\ No newline at end of file
- sh build.sh
variables:
STAGE: development
\ No newline at end of file
......@@ -8,7 +8,8 @@ if [ -d MetaGer_neu ]; then rm -rf MetaGer_neu;fi
git clone "$path" MetaGer_neu
cd MetaGer_neu
composer install
scp -P 63824 metager@metager3.de:~/.env .
cp $ENVFILE .env
sed -i -e "s/APP_ENV=production/APP_ENV=$STAGE/g" .env
cp $SUMAS config/sumas.json
cp $SUMASEN config/sumasEn.json
scp -P 63824 metager@metager3.de:~/blacklistUrl.txt config/
......
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