Easy CI for a node server on HEROKU
Easy CI for a node server on HEROKU
![Easy CI for a node server on HEROKU](/content/images/size/w960/2020/03/salesforce-heroku.png)
1) Init a GitHub repository
Init your GitHub repository with your node server sources + add heroku.yml
example -> https://github.com/texano00/yespesca-backend
2) Create a new Hobby account on HEROKU
![](https://www.yuribacciarini.com/content/images/2020/05/Schermata-2020-05-01-alle-17.21.19.png)
![](https://www.yuribacciarini.com/content/images/2020/05/Schermata-2020-05-01-alle-17.23.02.png)
![](https://www.yuribacciarini.com/content/images/2020/05/Schermata-2020-05-01-alle-17.23.34.png)
![](https://www.yuribacciarini.com/content/images/2020/05/Schermata-2020-05-01-alle-17.24.44.png)
Now, from CLI:
heroku access
// exec these 2 commands for every app you create
heroku stack:set container --app yespesca-backend-prod
git push heroku master
![](https://www.yuribacciarini.com/content/images/2020/05/Schermata-2020-05-01-alle-17.26.26.png)