Skip to content

Commit

Permalink
fixup! Test ngrok
Browse files Browse the repository at this point in the history
jacob-carlborg committed Nov 22, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent ebcfa17 commit 2b91c75
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -246,11 +246,26 @@ jobs:
with:
persist-credentials: false

- uses: NyaMisty/reverse-rdp-windows-github-actions-ng@master
- name: Setup RDP
run: |
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
-activate \
-restart -agent \
-configure \
-access -on \
-clientopts -setvnclegacy -vnclegacy yes \
-clientopts -setvncpw -vncpw foobar \
-privs -all
- name: Start SSH via ngrok
uses: rdp-studio/ssh2actions@main
with:
ngrok-token: ${{ secrets.NGROK_TOKEN }}
password: "foobar" # You can also put the password in secrets as you wish.
foreground: false
mode: ngrok
env:
# After sign up on the https://ngrok.com
# You can find this token here: https://dashboard.ngrok.com/auth/your-authtoken
NGROK_TOKEN: ${{ secrets.NGROK_TOKEN }}
NGROK_REGION: eu

- name: Test
uses: ./

0 comments on commit 2b91c75

Please sign in to comment.