Skip to content

Commit bd602b2

Browse files
committed
Section 10.5 - Deploy to Heroku with CircleCI
1 parent 07ca7ea commit bd602b2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.circleci/config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,15 @@ jobs:
105105
pip install -r packages/ml_api/requirements.txt
106106
py.test -vv packages/ml_api/tests -m differential
107107
108+
section_10_deploy_to_heroku:
109+
<<: *defaults
110+
steps:
111+
- checkout
112+
- run:
113+
name: Deploy to Heroku
114+
command: |
115+
git push https://heroku:[email protected]/$HEROKU_APP_NAME.git master
116+
108117
workflows:
109118
version: 2
110119
test-all:
@@ -121,3 +130,10 @@ workflows:
121130
branches:
122131
only:
123132
- master
133+
- section_10_deploy_to_heroku:
134+
requires:
135+
- train_and_upload_regression_model
136+
filters:
137+
branches:
138+
only:
139+
- master

0 commit comments

Comments
 (0)