Skip to content

Commit 8d2305b

Browse files
committed
try to get the output
1 parent 0a4a74c commit 8d2305b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.platform.app.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@ mounts:
5858
# The hooks that will be performed when the package is deployed.
5959
hooks:
6060
build: |
61-
if [ "$PLATFORM_BRANCH" = master ]; then
62-
rm web/app_dev.php
63-
else
64-
echo "only remove app_dev.php on master"
65-
fi
61+
rm web/app_dev.php
6662
# place sqlite file into /tmp so that we can write to it during deploy
6763
sed -i 's@%kernel.root_dir%/../var/app.sqlite@/tmp/app.sqlite@' app/config/parameters.yml
6864
bin/console --env=prod assets:install -n --no-debug

bin/reloadFixtures.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ run () {
66
command=$2
77
echo ${comment}
88
echo "Command: "${command}
9-
${command}
9+
${command} > /tmp/output 2> /tmp/error
1010
OUT=$?
1111
if [ ${OUT} -eq 0 ];then
1212
echo "+++ DONE +++"
13+
cat /tmp/output
1314
echo
1415
else
1516
echo "+++ Errors +++"
17+
cat /tmp/output
18+
cat /tmp/error
1619
exit ${OUT}
1720
fi
1821
}

0 commit comments

Comments
 (0)