Skip to content

Commit

Permalink
[Platform.sh] Fix demo reload
Browse files Browse the repository at this point in the history
  • Loading branch information
lchrusciel committed Jun 12, 2018
1 parent eee362e commit e1e1dd2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .platform.app.yaml
Expand Up @@ -85,12 +85,21 @@ hooks:
deploy: |
rm -rf var/cache/*
php bin/console doctrine:migrations:migrate --no-interaction
php composer reload-fixtures
rm -rf web/media/*
php bin/console doctrine:cache:clear-metadata
php bin/console doctrine:cache:clear-query
php bin/console doctrine:cache:clear-result
php bin/console --no-debug sylius:fixtures:load
crons:
reset:
spec: "0 */1 * * *"
cmd: "php composer reload-fixtures"
cmd: |
rm -rf web/media/*
php bin/console doctrine:cache:clear-metadata
php bin/console doctrine:cache:clear-query
php bin/console doctrine:cache:clear-result
php bin/console --no-debug sylius:fixtures:load
renewcertificate:
# Force a redeploy at 10 am (UTC) on the 3rd of every month.
spec: '0 10 3 * *'
Expand Down

0 comments on commit e1e1dd2

Please sign in to comment.