Created
December 3, 2019 14:45
-
-
Save linuxoracledev/e60ae555f3d0dbd88602c95fce0a459b to your computer and use it in GitHub Desktop.
How to update apps in heroku after deployment
This file contains hidden or 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
| #Install heroku cli | |
| #Login to heroku | |
| heroku login | |
| #Clone the app in local and changes working dir to the app dir - here azadbd is the app dir | |
| heroku git:clone -a azadbd | |
| cd azadbd | |
| #Initialize git | |
| git init | |
| #Make required changes in your apps | |
| #Add files to repo | |
| git add . | |
| #Commit the changes | |
| git commit -m "final" | |
| #Push changes to heroku | |
| git push heroku master | |
| # If push not work tehn force it | |
| git push heroku master --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment