Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

SSH to Actions

This GitHub Action offers you connect to GitHub Actions VM via SSH for interactive debugging

Features

  • 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

Usage

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 }}

Lisence

MIT © rdp-studio

About

Connect to GitHub Actions VM via SSH for interactive debugging

Resources

Stars

8 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages