How to Debug a Github Actions Workflow via SSH
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.
Company
Hookdeck
Date published
Aug. 5, 2022
Author(s)
Valérian Galliat
Word count
1766
Hacker News points
None found.
Language
English