File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push, workflow_dispatch]
4+
5+ jobs :
6+ build :
7+
8+ runs-on : windows-latest
9+
10+ steps :
11+ - name : Download
12+
13+ run : Invoke-WebRequest
14+
15+ https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-windows-
16+ amd64.zip -OutFile ngrok.zip
17+
18+ - name : Extract
19+
20+ run : Expand-Archive ngrok.zip
21+ - name : Auth
22+
23+ run : .\ngrok\ngrok.exe authtoken
24+ $Env:NGROK_AUTH_TOKEN
25+
26+ env :
27+ NGROK_AUTH_TOKEN : ${{
28+ secrets.NGROK_AUTH_TOKEN }}
29+ - name : Enable TS
30+
31+ run : Set-ItemProperty -Path
32+ ' HKLM:\System\CurrentControlSet\Control\Terminal Server' -
33+ name "fDenyTSConnections" -Value 0
34+ - run : Enable-NetFirewallRule -DisplayGroup "Remote
35+ Desktop"
36+ - run : Set-ItemProperty -Path
37+ ' HKLM:\System\CurrentControlSet\Control\Terminal
38+ Server\WinStations\RDP-Tcp' -name "UserAuthentication" -
39+ Value 1
40+
41+ - run : Set-LocalUser -Name "runneradmin" -Password
42+ (ConvertTo-SecureString -AsPlainText "P@ssw0rd!" -Force)
43+ - name : Create Tunnel
44+
45+ run : .\ngrok\ngrok.exe tcp 3389
You can’t perform that action at this time.
0 commit comments