From 90147bd93bc7c0bf69f57c678c76b1947f38ed4d Mon Sep 17 00:00:00 2001 From: Matthieu Date: Tue, 7 Apr 2026 15:33:37 +0200 Subject: [PATCH] fix(infra) : fix public dir permissions in deploy.sh Co-Authored-By: Claude Opus 4.6 (1M context) --- infra/prod/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/prod/deploy.sh b/infra/prod/deploy.sh index e51dae1..7407765 100755 --- a/infra/prod/deploy.sh +++ b/infra/prod/deploy.sh @@ -23,6 +23,7 @@ sleep 3 echo "==> Extracting maintenance page..." mkdir -p public sudo docker compose cp app:/var/www/html/public/maintenance.html public/maintenance.html +sudo chown -R www-data:www-data public echo "==> Running migrations..." sudo docker compose exec -T -u www-data app php bin/console doctrine:migrations:migrate --no-interaction