Restore ip-check workflow file
All checks were successful
Check Runner IP Address / check-ip (push) Successful in 6s
All checks were successful
Check Runner IP Address / check-ip (push) Successful in 6s
This commit is contained in:
21
.gitea/workflows/ip-check.yml
Normal file
21
.gitea/workflows/ip-check.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: Check Runner IP Address
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- '.gitea/workflows/ip-check.yml'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-ip:
|
||||||
|
runs-on: [dsw]
|
||||||
|
steps:
|
||||||
|
- name: Get runner IP address
|
||||||
|
run: |
|
||||||
|
echo "Runner IP address:"
|
||||||
|
curl ip.sb
|
||||||
|
|
||||||
|
echo "\nAdditional network information:"
|
||||||
|
hostname -I
|
||||||
|
whoami
|
||||||
|
uname -a
|
||||||
Reference in New Issue
Block a user