Skip to content

Commit 222053a

Browse files
committed
chore(ci): dnslink update on .tech tld
This is first step to migrate webui.ipfs.io to .tech, as it not done when we migrated all other websites: protocol/bifrost-infra#2018
1 parent fbbe5ff commit 222053a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,18 @@ jobs:
178178
env:
179179
DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }}
180180

181+
# dev dnslink is updated on each main branch update
182+
- run: dnslink-dnsimple --domain ipfs.tech --record _dnslink.dev.webui --link /ipfs/${{ steps.ipfs.outputs.cid }}
183+
if: github.ref == 'refs/heads/main'
184+
env:
185+
DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }}
186+
187+
# production dnslink is updated on release (during tag build)
188+
- run: dnslink-dnsimple --domain ipfs.tech --record _dnslink.webui --link /ipfs/${{ steps.ipfs.outputs.cid }}
189+
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch'
190+
env:
191+
DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }}
192+
181193
test-e2e:
182194
name: 'test:e2e'
183195
uses: ./.github/workflows/test-e2e.yml

0 commit comments

Comments
 (0)