Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions deployment/ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@

- name: Delete release folder
shell: rm -rf {{ release_path }}

- name: Run Migrations
command: "chdir={{current_path}}/src npx sequelize-cli db:migrate"

- name: Start pm2
command: "chdir={{current_path}}/src pm2 start app.js -i 2 --name elevate-notification"
Expand Down