Skip to content

Commit d67fb63

Browse files
authored
Configure /etc/hosts for gitcode (#309)
1 parent 2b730f8 commit d67fb63

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

.github/extra/hosts

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
116.205.2.91 gitcode.com
2+
116.205.2.91 www.gitcode.com
3+
116.205.6.139 ai.gitcode.com
4+
120.46.215.171 ai-ide.gitcode.com
5+
116.205.2.91 aihub-run.gitcode.com
6+
116.205.6.218 api.gitcode.com
7+
114.116.253.149 blog.gitcode.com
8+
90.84.160.24 cdn-img.gitcode.com
9+
221.194.141.163 cdn-news.gitcode.com
10+
90.84.161.29 cdn-static.gitcode.com
11+
116.205.2.45 chat-api.gitcode.com
12+
116.205.6.139 competition.gitcode.com
13+
116.205.2.91 copilot-app.gitcode.com
14+
116.205.2.45 desktop-api.gitcode.com
15+
36.41.168.170 desktop.gitcode.com
16+
221.194.141.170 docs.gitcode.com
17+
90.84.160.17 file-cdn.gitcode.com
18+
116.205.2.91 file.gitcode.com
19+
116.205.2.91 gitcodechat-app.gitcode.com
20+
116.205.2.91 gosim.gitcode.com
21+
116.205.2.91 homepage-app.gitcode.com
22+
116.205.2.91 idea.gitcode.com
23+
90.84.161.17 lfs-cdn.gitcode.com
24+
116.205.6.30 lfs-ai.gitcode.com
25+
90.84.161.18 lfs-ai-cdn.gitcode.com
26+
116.205.6.213 lfs.gitcode.com
27+
116.205.2.91 link.gitcode.com
28+
120.233.178.92 matechat.gitcode.com
29+
116.205.2.91 news.gitcode.com
30+
90.84.160.17 raw-cdn.gitcode.com
31+
113.44.227.73 raw.gitcode.com
32+
116.205.6.153 tianqi-api.gitcode.com
33+
116.205.6.153 tianqi.gitcode.com
34+
116.205.2.91 usercenter-app.gitcode.com
35+
116.205.2.45 web-api.gitcode.com
36+
1.92.135.79 wechat-api.gitcode.com
37+
116.205.2.91 weixin.gitcode.com

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ jobs:
121121
with:
122122
node-version: 22
123123

124+
- name: Configure /etc/hosts
125+
run: cat .github/extra/hosts | sudo tee -a /etc/hosts
126+
124127
- name: Set up ArkAnalyzer
125128
run: |
126129
REPO_URL="https://gitcode.com/Lipen/arkanalyzer.git"

0 commit comments

Comments
 (0)