This GitHub Action offers you connect to GitHub Actions VM via SSH for interactive debugging
- Support Ubuntu and macOS
- Provides two optional SSH connection methods, tmate and ngrok
- Proceed to the next step to stay connected
- Send SSH connection info to Telegram
Connect to Github Actions VM via SSH by using tmate
- name: Start SSH via tmateuses: rdp-studio/ssh2actions@main# Send connection info to Telegram (optional)# You can find related documents here: https://core.telegram.org/botsenv:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}Connect to Github Actions VM via SSH by using ngrok
- name: Start SSH via ngrokuses: rdp-studio/ssh2actions@mainwith:
mode: ngrokenv:
# After sign up on the https://ngrok.com# You can find this token here: https://dashboard.ngrok.com/auth/your-authtokenNGROK_TOKEN: ${{ secrets.NGROK_TOKEN }}# ngrok server region [us, eu, au, ap, sa, jp, in] (optional, default: us)# You can find this server region here: https://ngrok.com/docs#global-locationsNGROK_REGION: us# This password you will use when authorizing via SSHSSH_PASSWORD: ${{ secrets.SSH_PASSWORD }}# Send connection info to Telegram (optional)# You can find related documents here: https://core.telegram.org/botsTELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}MIT © rdp-studio