Skip to content

Commit

Permalink
cicd ignore errors in post update script
Browse files Browse the repository at this point in the history
  • Loading branch information
clezag committed Sep 24, 2024
1 parent acb9f51 commit 9e94b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/ansible/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@

- name: Call post-migration scripts
ansible.builtin.shell:
cmd: docker exec -i {{project_name}}-c3nav-core-1 /app/env/bin/python manage.py clearmapcache --include-history --include-geometries && /app/env/bin/python manage.py collectstatic -l --no-input; exit 0
cmd: docker exec -i {{project_name}}-c3nav-core-1 sh -c '/app/env/bin/python manage.py clearmapcache --include-history --include-geometries && /app/env/bin/python manage.py collectstatic -l --no-input'

0 comments on commit 9e94b0c

Please sign in to comment.