Update static collector, use https url for git repo
This commit is contained in:
parent
76a2a434aa
commit
ea3f1651a6
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue