File tree 1 file changed +3
-3
lines changed
playbooks/roles/edxapp/templates/edx/bin
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
{% if edxapp_staticfiles_storage_overrides %}
4
4
{% for override in edxapp_staticfiles_storage_overrides %}
5
5
sudo -E -H -u {{ edxapp_user }} \
6
- env "PATH=$PATH" "STATICFILES_STORAGE={{ override }}" "STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles" "STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio" \
7
- 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
6
+ env "PATH=$PATH" "STATICFILES_STORAGE={{ override }}" "STATIC_ROOT=/edx/var/edxapp/staticfiles" " STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles" "STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio" \
7
+ npm run ci && 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
8
8
{% endfor %}
9
9
{% else %}
10
10
sudo -E -H -u {{ edxapp_user }} \
11
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
12
+ npm run ci && 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
13
13
{% endif %}
14
14
You can’t perform that action at this time.
0 commit comments