Content Deep Dive
How to Debug a Github Actions Workflow via SSH
Blog post from Hookdeck
Post Details
Company
Date Published
Author
Valérian Galliat
Word Count
1,766
Language
English
Hacker News Points
-
Summary
GitHub Actions is a popular tool for CI/CD tasks due to its tight integration with GitHub and simplicity. However, it lacks the "rerun job with SSH" feature found in CircleCI, which allows users to debug live test environments by exposing an SSH server. Debugging issues that occur only on CI can be challenging without this feature. To address this issue, action-sshd-cloudflared was created, enabling SSH access to GitHub Actions workflow containers. The solution uses a relay host like Cloudflare Tunnel to connect to the VM running the workflow. This allows users to debug issues that occur only on CI and helps in setting up GitHub Actions for an app when unfamiliar with the environment.