Skip to content

Commit

Permalink
Merge pull request #386 from sumocoders/fix-deploy
Browse files Browse the repository at this point in the history
Use php version used with composer for scripts
  • Loading branch information
tijsverkoyen authored Nov 29, 2024
2 parents a2c2a0a + 2362428 commit 99fbac0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,16 @@
"Composer\\Config::disableProcessTimeout",
"./bin/simple-phpunit"
],
"auto-scripts": [
"@php bin/console forkcms:cache:clear",
"@php bin/console cache:clear --no-warmup",
"@php bin/console cache:warmup"
],
"post-install-cmd": [
"php bin/console forkcms:cache:clear",
"php bin/console cache:clear --no-warmup",
"php bin/console cache:warmup"
"@auto-scripts"
],
"post-update-cmd": [
"php bin/console forkcms:cache:clear",
"php bin/console cache:clear --no-warmup",
"php bin/console cache:warmup"
"@auto-scripts"
]
},
"autoload": {
Expand Down

0 comments on commit 99fbac0

Please sign in to comment.