Skip to content

Commit 467f860

Browse files
committed
build: update jinja template to run npm webpack and compile-sass
1 parent 0200ac8 commit 467f860

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sudo -E -H -u {{ edxapp_user }} \
88
{% endfor %}
99
{% else %}
1010
sudo -E -H -u {{ edxapp_user }} \
11-
env "PATH=$PATH" "STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles" "STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio" \
12-
npm run build && {{ edxapp_venv_bin }}/python manage.py lms collectstatic --noinput --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/python manage.py cms collectstatic --noinput --settings=$EDX_PLATFORM_SETTINGS
11+
env "PATH=$PATH" "STATIC_ROOT=/edx/var/edxapp/staticfiles" "STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles" "STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio" \
12+
npm run webpack && npm run compile-sass && npm run build && {{ edxapp_venv_bin }}/python manage.py lms collectstatic --noinput --settings=$EDX_PLATFORM_SETTINGS && {{ edxapp_venv_bin }}/python manage.py cms collectstatic --noinput --settings=$EDX_PLATFORM_SETTINGS
1313
{% endif %}
1414

0 commit comments

Comments
 (0)