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: Deploying Elixir with Heroku - ElixirCasts

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

I found two ways to do that: