Skip to content

Commit

Permalink
Merge pull request okfn-brasil#520 from okfn-brasil/cuducos-fix-search
Browse files Browse the repository at this point in the history
Adds a task to rebuild the search vector
  • Loading branch information
sergiomario authored Mar 13, 2020
2 parents d1b4e16 + d05d1d2 commit 350e46d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions contrib/update/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@
environment:
DATABASE_URL: "{{ lookup('env', 'DATABASE_URL') }}"

- name: run jarbas to rebuild the search vector
shell: python3 manage.py searchvector
args:
chdir: /opt/serenata-de-amor/
environment:
DATABASE_URL: "{{ lookup('env', 'DATABASE_URL') }}"

- name: destroy instance
hosts: 127.0.0.1

Expand Down

0 comments on commit 350e46d

Please sign in to comment.