CI: Fix Gitea server hostname resolution by rewriting git URLs
This commit is contained in:
@@ -6,6 +6,9 @@ jobs:
|
|||||||
name: Build Linux
|
name: Build Linux
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Configure Git Redirect
|
||||||
|
run: git config --global url."http://192.168.50.24:3000/".insteadOf "http://server:3000/"
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,9 @@ jobs:
|
|||||||
name: Build Windows
|
name: Build Windows
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Configure Git Redirect
|
||||||
|
run: git config --global url."http://192.168.50.24:3000/".insteadOf "http://server:3000/"
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user