#!/bin/bash # We want to have latest environment variables set here echo "Setting ENV variables..." eval $(adminix env) # Here you should add some bash instruction of how to run custom script # # Example: # # cd /home/ubuntu/application # # rm -rf tmp legacy # git clone -b tmp # # adminix stop_process # # mv current legacy # mv tmp current # # cd current # bundle exec rails assets:precompile # # adminix start_process