Home / Companies / Aviator / Blog / Post Details
Content Deep Dive

Managing rollbacks with GitHub Actions and Heroku

Blog post from Aviator

Post Details
Company
Date Published
Author
Muhammed Ali
Word Count
1,095
Language
English
Hacker News Points
-
Summary

This guide provides a comprehensive overview of setting up both automated and automatic rollbacks for a GitHub repository using GitHub Actions and Heroku. The process involves creating a GitHub Actions workflow, installing the necessary tools such as Python and Heroku CLI, and fetching the list of releases to determine the previous release version. For automatic rollbacks, a monitoring service like Papertrail is used to send alerts to a webhook, which triggers a GitHub Actions workflow to perform the rollback. The guide also covers setting up a FastAPI webhook endpoint to verify alert conditions and trigger the rollback process. By following this guide, developers can ensure their application can quickly revert to a stable state in case of issues with a new deployment.