Skip to content

Commit

Permalink
fix cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
clezag committed Sep 24, 2024
1 parent 8a92fef commit 5fbb64b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infrastructure/ansible/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@
cmd: cat dump.sql | docker exec -i {{project_name}}-postgres-1 su - postgres -c 'psql c3nav'

- name: Call post-migration scripts
shell: docker exec -i -w /app {{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'
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

0 comments on commit 5fbb64b

Please sign in to comment.