Skip to content

Commit

Permalink
[Platform.sh] Move cache clear script to make sure it is kept in pack…
Browse files Browse the repository at this point in the history
…ages
  • Loading branch information
andrerom committed Oct 4, 2019
1 parent 3c5d688 commit cccb7fd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
/bin/*
!bin/.ci/
!bin/.travis/
!bin/platformsh/
!bin/console
!bin/platformsh_prestart_cacheclear.sh
!bin/vhost.sh

.php~
Expand Down
2 changes: 1 addition & 1 deletion .platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ hooks:
# Now that mounts are available, clear cache on mount.
# Note: Skip on PE Cluster setup using e.g. "if [$PLATFORM_BRANCH" != 'production']; then" & get p.sh to enable this on internal per node "pre_start" hook
sh bin/platformsh/pre_start-per_node-clear_cache.sh
sh bin/platformsh_prestart_cacheclear.sh
# If you also need to clear Redis cache on every deploy, you can either use this command or redis-cli
# Normally this should only be needed if cached data structures changes (upgrades), or you change data via sql (e.g. restore backup)
Expand Down
File renamed without changes.

0 comments on commit cccb7fd

Please sign in to comment.