ArleyR

ArleyR

Deploy on Heroku with gitlab CI-CD

Hello guys. I need help.
I’m trying to deploy my app using the Gitlab docker image.

I don’t know how to deploy a Phoenix app on Heroku using the .gitlab-ci.yml. I didn’t find any information about that. Does anyone have an example of this file to base me on?

thanks!

Marked As Solved

NobbZ

NobbZ

Heroku is not gigalixir and things might be different.

As I said already, once you understand how to deploy without CI/CD it should be trivial to implement in any CI/CD pipeline.

But to do this, you need to understand manual steps first, you’ll gain nothing from a premade CI file that doesn’t suite your needs or is underdocumented and you miss important variables in the pipeline.

Personally I use gitlab ci a lot, for work and personally. At the office I’m called “the deployveloper” because I always find some way to deploy from gitlab. And this is easiest when starting from a fresh VM and recreating and reinstalling the necessary toolchain from scratch and understanding what’s going on.

Last Post!

ArleyR

ArleyR

Many thanks, @NobbZ, I tried to do that and It works! :+1:

Where Next?

Popular in Questions Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44265 214
New

We're in Beta

About us Mission Statement