Skip to content

Commit a63f48a

Browse files
authored
fix: switch to new dnslink updater (#2175)
This solves problem described in ipfs/distributions#1053 by switching to new tool like we did in ipfs/distributions#1055
1 parent c0f8f54 commit a63f48a

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

Diff for: .github/workflows/ci.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,24 @@ jobs:
131131
script: |
132132
core.setFailed('Pinning did not succeed')
133133
134+
# dnslink-dnsimple requires go
135+
- uses: actions/setup-go@v4
136+
if: github.ref == 'refs/heads/main'
137+
with:
138+
go-version: "1.20.x"
139+
140+
- name: Set up dnslink updater
141+
if: github.ref == 'refs/heads/main'
142+
run: go install github.com/ipfs/[email protected]
143+
134144
# dev dnslink is updated on each main branch update
135-
- run: npx dnslink-dnsimple --domain dev.webui.ipfs.io --link /ipfs/${{ steps.ipfs.outputs.cid }}
145+
- run: dnslink-dnsimple --domain dev.webui.ipfs.io --record _dnslink --link /ipfs/${{ steps.ipfs.outputs.cid }}
136146
if: github.ref == 'refs/heads/main'
137147
env:
138148
DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }}
139149

140150
# production dnslink is updated on release (during tag build)
141-
- run: npx dnslink-dnsimple --domain webui.ipfs.io --link /ipfs/${{ steps.ipfs.outputs.cid }}
151+
- run: dnslink-dnsimple --domain webui.ipfs.io --record _dnslink --link /ipfs/${{ steps.ipfs.outputs.cid }}
142152
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch'
143153
env:
144154
DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }}

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IPFS Web UI
22

3-
> A web interface to [IPFS](https://ipfs.io), shipped with [Kubo](https://github.com/ipfs/kubo), and [ipfs-desktop](https://github.com/ipfs/ipfs-desktop/).
3+
> A web interface to [IPFS](https://ipfs.tech), shipped with [Kubo](https://github.com/ipfs/kubo), and [ipfs-desktop](https://github.com/ipfs/ipfs-desktop/).
44
>
55
> Check on your node stats, explore the IPLD powered merkle forest, see peers around the world and manage your files, without needing to touch the CLI.
66

0 commit comments

Comments
 (0)