Skip to content

Commit

Permalink
chore: bring back dnslink publishing for website (#1200)
Browse files Browse the repository at this point in the history
The dnslink for the website should be updated when we do a prod release of the website. This PR should bring that back.

License: (Apache-2.0 AND MIT)
Signed-off-by: Oli Evans <oli@tableflip.io>
  • Loading branch information
olizilla committed Apr 4, 2022
1 parent 3231807 commit 3a17bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:

# Add the site to web3.storage, output the cid as `steps.ipfs.outputs.cid`
- name: Add to web3.storage
if: ${{ steps.tag-release.outputs.release_created && matrix.package == 'website' }}
if: ${{ steps.tag-release.outputs.release_created }}
uses: web3-storage/add-to-web3@v2
id: ipfs
with:
Expand All @@ -122,7 +122,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Deploy https://web3.storage
if: ${{ steps.tag-release.outputs.release_created && matrix.package == 'website' }}
if: ${{ steps.tag-release.outputs.release_created }}
run: npx dnslink-cloudflare --record _dnslink --domain web3.storage --link /ipfs/${{ steps.ipfs.outputs.cid }}
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}

0 comments on commit 3a17bff

Please sign in to comment.