Skip to content

Commit

Permalink
Merge pull request Sylius#46 from lchrusciel/fix-reload
Browse files Browse the repository at this point in the history
[Platform.sh] Fix demo reload
  • Loading branch information
pamil committed Jun 13, 2018
2 parents 79e836a + e1e1dd2 commit 01c07f6
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 01c07f6

Please sign in to comment.