From 222053a738c088a82ff17dd3a502b35af2ee62cd Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Tue, 16 Apr 2024 23:14:05 +0200 Subject: [PATCH] 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: https://github.com/protocol/bifrost-infra/issues/2018 --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71aa0d6e3..eac5a8760 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -178,6 +178,18 @@ jobs: env: DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }} + # dev dnslink is updated on each main branch update + - run: dnslink-dnsimple --domain ipfs.tech --record _dnslink.dev.webui --link /ipfs/${{ steps.ipfs.outputs.cid }} + if: github.ref == 'refs/heads/main' + env: + DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }} + + # production dnslink is updated on release (during tag build) + - run: dnslink-dnsimple --domain ipfs.tech --record _dnslink.webui --link /ipfs/${{ steps.ipfs.outputs.cid }} + if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' + env: + DNSIMPLE_TOKEN: ${{ secrets.DNSIMPLE_TOKEN }} + test-e2e: name: 'test:e2e' uses: ./.github/workflows/test-e2e.yml