From 3933222d98eb18fd85e951c493ca4fa6fc356363 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Wed, 23 Oct 2024 21:36:48 -0400 Subject: [PATCH] Make sure the .env can be accessed --- .github/docker/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/docker/entrypoint.sh b/.github/docker/entrypoint.sh index ad1b359b64..670cce9d65 100644 --- a/.github/docker/entrypoint.sh +++ b/.github/docker/entrypoint.sh @@ -28,6 +28,7 @@ fi mkdir /pelican-data/database ln -s /pelican-data/.env /var/www/html/ +chown -h www-data:www-data /var/www/html/.env ln -s /pelican-data/database/database.sqlite /var/www/html/database/ if ! grep -q "APP_KEY=" .env || grep -q "APP_KEY=$" .env; then