CI: Fix Gitea server hostname resolution by rewriting git URLs
This commit is contained in:
1 parent
8e8d8943eb
commit
44df49071c
2 files changed
+6
No files matched your search
@@ -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