Update files after deploying to Heroku

Asked

Viewed 2,456 times

2

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

1 answer

2


Whenever you need to make a new deploy you have to push to Heroku exactly this way:

$ git push heroku master

always remembering to have added and committed what you want to push.

the complete command would be more or less like this:

$ git add --all
$ git commit -m 'novas alterações'
$ git push heroku master

Browser other questions tagged

You are not signed in. Login or sign up in order to post.