Update static collector, use https url for git repo

This commit is contained in:
László Károlyi 2020-04-29 19:14:04 +02:00
parent 76a2a434aa
commit ea3f1651a6
Signed by: karolyi
GPG key ID: 2DCAF25E55735BFE
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
- name: Updating source
git:
repo: git@github.com:karolyi/forum-django.git
repo: https://github.com/karolyi/forum-django
dest: '{{ project_dir }}'
force: yes
register: result

View file

@ -23,7 +23,7 @@ rm -rf static/*
echo -e ${GREEN}--- running collectstatic ---${NC}
# Delete the old static, collect everything new
# yes yes|./manage.py collectstatic -v0 --clear --noinput
yes yes|backend/manage.py collectstatic -v0 --noinput
yes yes|python -Wd backend/manage.py collectstatic -v0 --noinput
EXIT_CODE=$?
if [[ $EXIT_CODE -ne 0 ]]; then
echo -e ${RED}COLLECTSTATIC EXITED WITH $EXIT_CODE${NC}