Deploy on Heroku with gitlab CI-CD

yes, I worked some things with javascript and that was very easy to implement with Heroku and Gitlab. I deployed the project doing that: https://elixircasts.io/deploying-elixir-with-heroku

All were manual, but now I like to automate it.

I found two ways to do that: