Update files after deploy in Heroku

2

I deployed my Node.js application to Heroku for the first time and it is working perfectly. However, I edited a file and need to update it, how can I do that? Should I use git push heroku master again or is there another command to use in the right way?

    
asked by anonymous 18.07.2015 / 02:59

1 answer

2

Whenever you need to do a new deploy you have to push the heroku exactly like this:

$ git push heroku master

Always remember to add and commit what you want to push.

the complete command would look something like this:

$ git add --all
$ git commit -m 'novas alterações'
$ git push heroku master
    
18.07.2015 / 21:26