Rails App configurations for AWS CodeBuild
I have a rails application that is deployed on AWS EC2 instance with CodePipeline. I have added the Build stage in the pipeline using AWS CodeBuild to build test my code.
I have no idea about where to add below rails command to execute whenever code auto-deploy using the pipeline.
- bundle install
- rake db:migrate, create, assets compile
- Restart sidekiq