Skip to content

Commit

Permalink
Update cf-win.msvc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mguludag authored May 20, 2024
1 parent d259905 commit f16a80a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cf-win.msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
Start-Sleep -s 10
Get-Content $pwd\out.txt | ForEach-Object { if($_ -match "https://"){ $URLString = ((Select-String '(http[s]?)(:\/\/)([^\s,]+)(?=")' -Input $_).Matches.Value) }}
if($URLString){ C:\send_telegram.ps1 ${{ secrets.TG_TOKEN }} ${{ secrets.TG_CHAT_ID }} $URLString }
Start-Sleep -s 21600
}else{
cloudflared tunnel --url http://localhost:10240
}
Expand Down

0 comments on commit f16a80a

Please sign in to comment.