forked from trainindata/deploying-machine-learning-models
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix heroku deploy command (trainindata#755)
- Loading branch information
1 parent
63cdc18
commit ae92f2f
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ jobs: | |
- run: | ||
name: Deploy to Heroku | ||
command: | | ||
git subtree push --prefix section-07-ci-and-publishing https://heroku:[email protected]/$HEROKU_APP_NAME.git master | ||
git subtree push --prefix section-07-ci-and-publishing/house-prices-api https://heroku:[email protected]/$HEROKU_APP_NAME.git master | ||
section_07_test_and_upload_regression_model: | ||
<<: *defaults | ||
|
@@ -276,6 +276,10 @@ workflows: | |
- section_07_deploy_app_to_heroku: | ||
requires: | ||
- section_07_test_app | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
# upload after git tags are created | ||
- section_07_test_and_upload_regression_model: | ||
<<: *tags_only | ||
|