git://repos.xcallymotion.com
/
motion.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
11ea78e8861c9a2ef27ff9891b231807c6442fa4
[motion.git]
/
scripts
/
post-merge.sh
1
#!/bin/bash
2
3
echo "post-merge started"
4
cd /var/opt/motion
5
npm install --production
6
sequelize db:migrate --migrations-path server/migrations --config server/config/environment/dbconf.json --env production
7
pm2 restart motion
8
echo "post-merge finished"