name: CI
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Download ngrok
run: wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.zip -O ngrok.zip
- name: Extract ngrok
run: unzip ngrok.zip
- name: Authenticate ngrok
run: ./ngrok authtoken $NGROK_AUTH_TOKEN
env:
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
- name: Install xrdp and Desktop Environment
run: |
sudo apt-get update
sudo apt-get install -y ubuntu-desktop xrdp
sudo systemctl enable xrdp
sudo systemctl restart xrdp
- name: Set password for runner
run: echo 'runneradmin:password' | sudo chpasswd
- name: Create Tunnel
run: ./ngrok tcp 3389
Using this code, Ubuntu RDP can be run. Some can give the code that I can run the VPS/VNC connrction of MAC OS with NGROCK & GitHub Action.
A macos rdp/vpn using github action.
New contributor
Andy Robertson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.