From 54a903538772372753b03866c7964a3b722b33ca Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Sat, 16 Nov 2024 00:15:35 +0500 Subject: [PATCH] build: update jinja template --- .../roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 | 4 ++-- 1 file changed, 2 insertions(+), 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 e9d08881795..516d399634d 100644 --- a/playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 +++ b/playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 @@ -4,11 +4,11 @@ {% for override in edxapp_staticfiles_storage_overrides %} sudo -E -H -u {{ edxapp_user }} \ env "PATH=$PATH" "STATICFILES_STORAGE={{ override }}" \ - {{ edxapp_venv_bin }}/npm run build && {{ edxapp_venv_bin }}/manage.py lms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/manage.py cms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS + {{ edxapp_venv_bin }}/npm run build && {{ edxapp_venv_bin }}/python manage.py lms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/python manage.py cms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS {% endfor %} {% else %} sudo -E -H -u {{ edxapp_user }} \ env "PATH=$PATH" \ - {{ edxapp_venv_bin }}/npm run build && {{ edxapp_venv_bin }}/manage.py lms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/manage.py cms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS + {{ edxapp_venv_bin }}/npm run build && {{ edxapp_venv_bin }}/python manage.py lms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/python manage.py cms collectstatic --noinput --debug-collect --settings=$EDX_PLATFORM_SETTINGS {% endif %} \ No newline at end of file