From 354ae9fcdd5d2e503844aa099e65973d943be152 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Wed, 27 Nov 2024 20:44:11 +0500 Subject: [PATCH] build: explicitly pass on staticfiles_storage env parameter --- .../roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 b/playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 index 28e980dc151..b15d506064c 100644 --- a/playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 +++ b/playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 @@ -5,7 +5,6 @@ sudo -E -H -u {{ edxapp_user }} \ env "PATH=$PATH" \ "STATICFILES_STORAGE={{ override }}" \ - "WEBPACK_CONFIG_PATH=webpack.prod.config.js" \ "STATIC_ROOT=/edx/var/edxapp/staticfiles" \ "STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles" \ "STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio" \ @@ -18,7 +17,7 @@ sudo -E -H -u {{ edxapp_user }} \ {% else %} sudo -E -H -u {{ edxapp_user }} \ env "PATH=$PATH" \ - "WEBPACK_CONFIG_PATH=webpack.prod.config.js" \ + "STATICFILES_STORAGE=django.contrib.staticfiles.storage.StaticFilesStorage" \ "STATIC_ROOT=/edx/var/edxapp/staticfiles" \ "STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles" \ "STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio" \