Guide on Deploying a Phoenix Application with GitHub Actions

30
clicks
Guide on Deploying a Phoenix Application with GitHub Actions

Source: yellowduck.be

Type: Post

This content provides a detailed walkthrough on deploying a Phoenix web application developed in Elixir using mix releases along with automation through GitHub Actions. It explains the initial setup of a new Phoenix application, including creating the application structure and generating necessary files. The steps also describe preparing the application for deployment by generating release files and constructing the necessary server environment configuration, including systemd service files and environment variables. It also covers how to configure the GitHub Action for deployment, which includes caching dependencies, compiling the application, and using ssh to deploy the release to the server. Lastly, it mentions setting up Caddy as a reverse proxy to expose the application to the web.

© HashMerge 2025