|
#!/bin/bash
# This deploy hook gets executed after dependencies are resolved and the
# build hook has been run but before the application has been started back
# up again. This script gets executed directly, so it could be python, php,
# ruby, etc.
pushd ${OPENSHIFT_REPO_DIR} > /dev/null
RAILS_ENV="production" bundle exec rake db:migrate
popd > /dev/null
|