Do not clear static files on every run

Django collectstatic knows when files change.
This commit is contained in:
Fabian Koller 2020-12-23 14:05:35 +01:00
parent 089a8c0498
commit 227934a7f0
No known key found for this signature in database
GPG Key ID: 4EFE4C946404B82A

View File

@ -222,7 +222,7 @@
extra_args: --upgrade
- name: collect static files
command: "{{ paperlessng_virtualenv }}/bin/python3 manage.py collectstatic --clear --no-input"
command: "{{ paperlessng_virtualenv }}/bin/python3 manage.py collectstatic --no-input"
args:
chdir: "{{ paperlessng_directory }}/src"