Deploy to Heroku from GitHub code example
Example 1: git push to heroku
$ git push heroku master
Example 2: heroku and github on termi
$ heroku git:remote -a thawing-inlet-61413
set git remote heroku to https:
Example 3: how to trigger new heorku build without diting git
heroku builds:create --source-url https:
Example 4: how to deploy heroku app
I assume you know how to use git.
I also assume you've ran the heroku create command for the app.
First commit the app if you haven't, then run this command:
git push heroku master
If there's an error, then try to fix it.
After that access the website by running this command:
heroku open
And run this command if you encounter an error with the website:
heroku logs --tail
Example 5: heroku and github on termi
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...
Example 6: heroku and github on termi
$ git remote rename heroku heroku-staging