-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: temporarily disable add-to-web3 (#69)
...pending it being upgraded to use the new API
- Loading branch information
Alan Shaw
authored
Jan 12, 2024
1 parent
3125134
commit 05c0d29
Showing
1 changed file
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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 |