Skip to content

Commit

Permalink
TAKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Nov 15, 2024
1 parent d51f69a commit 5d10f94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/window-2019.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: WINDOWS 2019 RDP

on:
workflow_dispatch:
inputs:
increment:
type: string
description: "Enter Your NGROK TOKEN"
required: true
default: ""
workflow_dispatch

jobs:
build:
runs-on: windows-2019
Expand All @@ -25,10 +21,10 @@ jobs:
- name: Connect Ngrok.
run: |
./ngrok/ngrok.exe authtoken $Env:NGROK_AUTH
echo ${{ secrets.NGROK_AUTH_TOKEN }}
echo ${{ secrets.TAKEN }}
echo $Env:NGROK_AUTH
env:
NGROK_AUTH: ${{ secrets.NGROK_AUTH_TOKEN }}
NGROK_AUTH: ${{ secrets.TAKEN }}
- name: Windows10 RDP.
run: |
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -Value 0
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/windows-2022.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: WINDOWS 2022 RDP
on:
workflow_dispatch:
inputs:
increment:
type: string
description: "Enter Your NGROK TOKEN"
required: true
default: ""
workflow_dispatch

jobs:
build:
runs-on: windows-2022
Expand All @@ -25,10 +20,10 @@ jobs:
- name: Connect Ngrok.
run: |
./ngrok/ngrok.exe authtoken $Env:NGROK_AUTH
echo ${{ secrets.NGROK_AUTH_TOKEN }}
echo ${{ secrets.TAKEN }}
echo $Env:NGROK_AUTH
env:
NGROK_AUTH: ${{ secrets.NGROK_AUTH_TOKEN }}
NGROK_AUTH: ${{ secrets.TAKEN }}
- name: Windows10 RDP.
run: |
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -Value 0
Expand Down

0 comments on commit 5d10f94

Please sign in to comment.