Skip to content

Commit e6b85c4

Browse files
committed
Fix PlatformSH configuration
1 parent 0889cab commit e6b85c4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.platform.app.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,24 @@ disk: 2048
4747

4848
# The mounts that will be performed when the package is deployed.
4949
mounts:
50-
"/app/cache": "shared:files/cache"
51-
"/app/logs": "shared:files/logs"
50+
"/var/cache": "shared:files/cache"
51+
"/var/logs": "shared:files/logs"
5252

5353
# The hooks that will be performed when the package is deployed.
5454
hooks:
5555
build: |
5656
rm web/app_dev.php
5757
# place sqlite file into /tmp so that we can write to it during deploy
5858
sed -i 's@%kernel.root_dir%/app.sqlite@/tmp/app.sqlite@' app/config/parameters.yml
59-
app/console --env=prod assets:install -n --no-debug
60-
app/console --env=prod assetic:dump -n --no-debug
59+
bin/console --env=prod assets:install -n --no-debug
60+
bin/console --env=prod assetic:dump -n --no-debug
6161
deploy: |
6262
# force clearing the cache
63-
rm -rf app/cache
64-
app/console doctrine:phpcr:init:dbal --drop --force -n
65-
app/console doctrine:phpcr:repository:init -n
66-
app/console doctrine:phpcr:fixtures:load -n
67-
app/console --env=prod cache:warmup -n --no-debug
63+
rm -rf var/cache
64+
bin/console doctrine:phpcr:init:dbal --drop --force -n
65+
bin/console doctrine:phpcr:repository:init -n
66+
bin/console doctrine:phpcr:fixtures:load -n
67+
bin/console --env=prod cache:warmup -n --no-debug
6868
6969
runtime:
7070
extensions:

0 commit comments

Comments
 (0)