Connect to GitHub Actions via SSH, get macOS or Linux VM for free.
- Click the Use this template button to create a new repository.
- Select
macOS (tmate)
orUbuntu (tmate)
on the Actions page. - Click the
Run workflow
button. - Get the connection info in the log.
- Note that your repo needs to be public, otherwise you have a strict monthly limit on how many minutes you can use.
- Your session can run for up to six hours. Don't forget to close it after finishing your work, otherwise you will continue to occupy this virtual machine, making it impossible for others to use it normally.
- Please check the GitHub Actions Terms of Service. According to the TOS the repo that contains these files needs to be the same one where you're developing the project that you're using it for, and specifically that you are using it for the "production, testing, deployment, or publication of [that] software project".
SSH by using ngrok
Click the Settings
tab on your own repository, and then click the Secrets
button to add the following encrypted environment variables:
NGROK_TOKEN
: Sign up on the https://ngrok.com , find this token here.SSH_PASSWORD
: This password you will use when authorizing via SSH.
Send connection info to Telegram
Click the Settings
tab on your own repository, and then click the Secrets
button to add the following encrypted environment variables:
TELEGRAM_BOT_TOKEN
: Get your bot token by talking to @BotFather.TELEGRAM_CHAT_ID
: Get your chat ID by talking to @GetMyID_bot or other similar bots.
You can find Telegram Bot related documents here.
MIT © rdp-studio