diff --git a/infrastructure/bin/post_deployment.sh b/infrastructure/bin/post_deployment.sh index d2c4ad64dcc..e8729aa7f99 100755 --- a/infrastructure/bin/post_deployment.sh +++ b/infrastructure/bin/post_deployment.sh @@ -46,8 +46,6 @@ cd /home/site/wwwroot/api # Laravel local cache if mkdir --parents /tmp/bootstrap/cache /tmp/api/storage/framework/cache/data && \ - chown www-data:www-data /tmp/bootstrap/cache && \ - chown -R www-data:www-data /tmp/api/storage && \ php artisan optimize && \ chown www-data:www-data /tmp/bootstrap/cache && \ chown -R www-data:www-data /tmp/api/storage;