This commit is contained in:
@@ -11,18 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
# ------------------------------------------------------------
|
||||
# 0. Detect the host‑side IP that Docker containers use
|
||||
# ------------------------------------------------------------
|
||||
- name: Detect Gitea host IP (inside runner)
|
||||
id: detect_host
|
||||
shell: bash
|
||||
run: |
|
||||
HOST_IP=$(ip route | awk '/default/ {print $3}')
|
||||
echo "GITEA_HOST=$HOST_IP" >> "$GITHUB_ENV"
|
||||
echo "Detected host IP: $HOST_IP"
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# 1. Checkout the website repository (your app code)
|
||||
# ------------------------------------------------------------
|
||||
- name: Checkout website repo
|
||||
|
Reference in New Issue
Block a user