Update deploy.rb

Run migrations in the right place, call correct restart command to unicorn
Functionality to sync all posts