- 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_NAMEis whatever found insideapp-name-here.herokuapp.comHEROKU_API_KEYmay be created via$ heroku authorizations:create --description='App Name'(copy/paste the 'token' value)- add this repo's
config.ymlinside your Rails project:.circleci/config.yml - update Ruby version within the "Docker image", e.g. 2.6.1, inside your
config.yml $ git pushto build the project on Circle CI- if tests pass, project will be deployed automatically to Heroku
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|