Skip to content

Commit

Permalink
Add GotHub support
Browse files Browse the repository at this point in the history
  • Loading branch information
NoPlagiarism committed Jul 15, 2023
1 parent 2b32622 commit 25dff43
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/update-instances.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,18 @@ jobs:
apply_update
# ==============================================================
# GotHub update
# ==============================================================
curl -s https://codeberg.org/gothub/gothub-instances/raw/branch/master/instances.json | \
jq '[.[] | .link]' > gothub-tmp.json
jq --slurpfile gothub-tmp.json \
'(.[] | select(.type == "gothub") )
.instances |= $gothub[0]' services-full.json > services-tmp.json
apply_update
# ==============================================================
# TODO: Update instances for other services
# ==============================================================
Expand Down
14 changes: 14 additions & 0 deletions services-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,20 @@
"https://breeze.whateveritworks.org"
]
},
{
"type": "gothub",
"test_url": "/benbusby/farside",
"fallback": "https://gothub.projectsegfau.lt",
"instances": [
"https://gh.bloatcat.tk",
"https://gothub.lunar.icu",
"https://gothub.no-logs.com",
"https://gh.owo.si",
"https://gothub.projectsegfau.lt",
"https://gh.whateveritworks.org",
"https://gothub.dev.projectsegfau.lt"
]
},
{
"type": "anonymousoverflow",
"test_url": "/questions/6591213/how-do-i-rename-a-local-git-branch",
Expand Down

0 comments on commit 25dff43

Please sign in to comment.