File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ git checkout ${COMMIT_HASH}
46
46
rm -rf .git
47
47
cd ..
48
48
49
+ # clear the cache before enabling the maintenance mode to reduce the down time
50
+ echo ' ... clearing the cache ...'
51
+ php ${N98_MAGERUN} cache:flush
52
+
49
53
# enable maintenance mode
50
54
echo ' ... enabling maintenance mode ...'
51
55
> ${HTML_ROOT} /maintenance.flag
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ cp ${SCRIPT_ROOT}/local.xml ${HTML_ROOT}-new/app/etc/local.xml
50
50
# symlink media directory
51
51
ln -s ${MEDIA_ROOT} ${HTML_ROOT} -new/media
52
52
53
+ # clear the cache before enabling the maintenance mode to reduce the down time
54
+ echo ' ... clearing the cache ...'
55
+ php ${N98_MAGERUN} cache:flush
56
+
53
57
# enable maintenance mode
54
58
echo ' ... enabling maintenance mode ...'
55
59
> ${HTML_ROOT} /maintenance.flag
You can’t perform that action at this time.
0 commit comments