Is it possible to deploy a Phoenix app to GitHub Pages?

I’m trying to create a portfolio using Phoenix LiveView. I want to add some realtime functionalities to this, that’s why I’m using Phoenix.

Is it possible to deploy it to GitHub Pages?

If so, can you give me any direction?

Actually you cannot. Github pages only serves static HTML. To deploy a phoenix app you need to use a cloud provider like GCP, AWS, Digital Ocean, etc… or use on your own server.

2 Likes

You can use Heroku for free hosting. Used that quite a bit, it works well

1 Like

Try render.com. It’s like Heroku, but simpler and cheaper, and it’s quite elixir-friendly.

2 Likes