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:
58
58
# The hooks that will be performed when the package is deployed.
59
59
hooks :
60
60
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
66
62
# place sqlite file into /tmp so that we can write to it during deploy
67
63
sed -i 's@%kernel.root_dir%/../var/app.sqlite@/tmp/app.sqlite@' app/config/parameters.yml
68
64
bin/console --env=prod assets:install -n --no-debug
Original file line number Diff line number Diff line change @@ -6,13 +6,16 @@ run () {
6
6
command=$2
7
7
echo ${comment}
8
8
echo " Command: " ${command}
9
- ${command}
9
+ ${command} > /tmp/output 2> /tmp/error
10
10
OUT=$?
11
11
if [ ${OUT} -eq 0 ]; then
12
12
echo " +++ DONE +++"
13
+ cat /tmp/output
13
14
echo
14
15
else
15
16
echo " +++ Errors +++"
17
+ cat /tmp/output
18
+ cat /tmp/error
16
19
exit ${OUT}
17
20
fi
18
21
}
You can’t perform that action at this time.
0 commit comments