Circle CI + Rails Config
- inside Circle CI > your organization, click "New Project" then 'start build' to save it (build will fail)
- navigate to project Environment Variables (eg: https://ui.circleci.com/settings/project/github/your_username/your_repo/environment-variables)
- click 'Add Variables' and add the following:
HEROKU_APP_NAME
,HEROKU_API_KEY
HEROKU_APP_NAME
is whatever found insideapp-name-here.herokuapp.com
HEROKU_API_KEY
may be created via$ heroku authorizations:create --description='App Name'
(copy/paste the 'token' value)- add this repo's
config.yml
inside your Rails project:.circleci/config.yml
- update Ruby version within the "Docker image", e.g. 2.6.1, inside your
config.yml
$ git push
to build the project on Circle CI- if tests pass, project will be deployed automatically to Heroku