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