Skip to content

Commit 22cb13f

Browse files
committed
changing var/ -> app/ for SfCloud... because Carson is a bit old
1 parent f463bc6 commit 22cb13f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.symfony.cloud.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ web:
2121
disk: 2048
2222

2323
mounts:
24-
"app/cache": { source: local, source_path: "var/cache" }
25-
"app/logs": { source: local, source_path: "var/logs" }
24+
"app/cache": { source: local, source_path: "app/cache" }
25+
"app/logs": { source: local, source_path: "app/logs" }
2626

2727
hooks:
2828
build: |
@@ -37,13 +37,13 @@ hooks:
3737
3838
# Keep the cache in a persistent directory
3939
# If your cache can be read-only, you can skip this step
40-
(>&2 mkdir -p tmp/cache && mv var/cache/prod tmp/cache/ && mv var/bootstrap.php.cache tmp/bootstrap.php.cache)
40+
(>&2 mkdir -p tmp/cache && mv app/cache/prod tmp/cache/ && mv var/bootstrap.php.cache tmp/bootstrap.php.cache)
4141
4242
deploy: |
4343
set -x -e
4444
4545
# "install" cache
4646
# If your cache can be read-only, you can skip these steps
47-
rm -rf var/cache/prod
47+
rm -rf app/cache/prod
4848
cp -Rp tmp/bootstrap.php.cache var/bootstrap.php.cache
49-
cp -Rp tmp/cache/prod var/cache/
49+
cp -Rp tmp/cache/prod app/cache/

0 commit comments

Comments
 (0)