Skip to content

Commit b4c5f0a

Browse files
committed
do remove app_dev on master only
1 parent 6908e07 commit b4c5f0a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.platform.app.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ 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
6166
rm web/app_dev.php
6267
# place sqlite file into /tmp so that we can write to it during deploy
6368
sed -i 's@%kernel.root_dir%/../var/app.sqlite@/tmp/app.sqlite@' app/config/parameters.yml

0 commit comments

Comments
 (0)