1 min read

Easy CI for a node server on HEROKU

Easy CI for a node server on HEROKU
Easy CI for a node server on HEROKU

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

Choose "Free and Hobby" plan
Create every apps you want. For example a staging app and a production app.
Created Apps.
Connect to your GitHub account and attach your branch

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
Click on "Open app"
Tweets by YBacciarini