From 05c0d296fc78fe63edd7920347079d7f538879e9 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Fri, 12 Jan 2024 15:31:34 +0000 Subject: [PATCH] fix: temporarily disable add-to-web3 (#69) ...pending it being upgraded to use the new API --- .github/workflows/deploy.yml | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ea5523f..6623c55 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -77,18 +77,18 @@ jobs: - run: pnpm lint - run: pnpm test - run: pnpm build - - name: Add to web3.storage - uses: web3-storage/add-to-web3@v2 - id: ipfs - with: - path_to_add: ${{ env.outputDir }} - web3_token: ${{ secrets.WEB3_TOKEN }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Update IPFS DNSLink https://web3.storage - run: npx dnslink-cloudflare --record _dnslink --domain web3.storage --link /ipfs/${{ steps.ipfs.outputs.cid }} - env: - CF_API_TOKEN: ${{ secrets.CF_TOKEN }} + # - name: Add to web3.storage + # uses: web3-storage/add-to-web3@v2 + # id: ipfs + # with: + # path_to_add: ${{ env.outputDir }} + # web3_token: ${{ secrets.WEB3_TOKEN }} + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # - name: Update IPFS DNSLink https://web3.storage + # run: npx dnslink-cloudflare --record _dnslink --domain web3.storage --link /ipfs/${{ steps.ipfs.outputs.cid }} + # env: + # CF_API_TOKEN: ${{ secrets.CF_TOKEN }} - name: Deploy preview build to Cloudflare Pages uses: mathiasvr/command-output@v1.1.0 id: cloudflare @@ -98,12 +98,20 @@ jobs: CLOUDFLARE_API_TOKEN: ${{ secrets.CF_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }} - name: Add Preview URLs as Job Summary + # run: | + # echo " + # ### Deployed + # ⁂ https://web3.storage + + # ### Snapshot urls 🔗✨ + # - 🙂 https://${{ steps.ipfs.outputs.cid }}.ipfs.w3s.link + # - ⛅️ ${{ steps.cloudflare_url.outputs.stdout }} + # " >> $GITHUB_STEP_SUMMARY run: | echo " ### Deployed ⁂ https://web3.storage ### Snapshot urls 🔗✨ - - 🙂 https://${{ steps.ipfs.outputs.cid }}.ipfs.w3s.link - ⛅️ ${{ steps.cloudflare_url.outputs.stdout }} " >> $GITHUB_STEP_SUMMARY