2 min read
Github Action for Poor Man PaaS

As Poor Man PaaS gets more usage I’ve figured the Github Action that deploys the service. As an example I’ll use the RelayDon Github Action as it’s opensource anyway. Essentially it does the following:

  1. Builds the Docker image for your application
  2. Pushes the image tagging it with the git SHA
  3. Logs onto destination machine over SSH
  4. Updates the your application image in the .env
  5. Pulls the new image
  6. Reloads your service with new image

Obviously I encourage you to hack and tailor the to your own needs.