Skip to content

ngrok SSH tunnel (macOS 12) #39

ngrok SSH tunnel (macOS 12)

ngrok SSH tunnel (macOS 12) #39

name: "ngrok SSH tunnel (macOS 12)"
on:
workflow_dispatch:
jobs:
ngrok_ssh_tunnel:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Start SSH via ngrok
run: ./start_ngrok_tunnel.sh
env:
NGROK_TOKEN: ${{ secrets.NGROK_TOKEN }}
SSH_PUBLIC_KEY: ${{ secrets.NGROK_SSH_PUBLIC_KEY }}
shell: bash
- name: Keep tunnel alive for 24 hours
run: sleep 86400
shell: bash