File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,7 @@ mounts:
5858# The hooks that will be performed when the package is deployed.
5959hooks :
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
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments