-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 1704839541-car-from-backup-table
- Loading branch information
Showing
15 changed files
with
116 additions
and
42 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 |
---|---|---|
|
@@ -204,19 +204,19 @@ jobs: | |
NEXT_PUBLIC_W3UP_LAUNCH_LIMITED_AVAILABILITY_START: ${{ vars.NEXT_PUBLIC_W3UP_LAUNCH_LIMITED_AVAILABILITY_START }} | ||
DID_DOCUMENT_ID: ${{ secrets.STAGING_DID_DOCUMENT_ID }} | ||
DID_DOCUMENT_PRIMARY_DID_KEY: ${{ secrets.STAGING_DID_DOCUMENT_PRIMARY_DID_KEY }} | ||
- name: Add to web3.storage | ||
uses: web3-storage/add-to-web3@v2 | ||
id: ipfs | ||
with: | ||
path_to_add: packages/website/out | ||
web3_token: ${{ secrets.WEB3_TOKEN }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Update IPFS DNSLink https://staging.web3.storage | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
run: npx dnslink-cloudflare --record staging --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: packages/website/out | ||
# web3_token: ${{ secrets.WEB3_TOKEN }} | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# - name: Update IPFS DNSLink https://staging.web3.storage | ||
# if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
# run: npx dnslink-cloudflare --record staging --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 | ||
|
@@ -237,17 +237,28 @@ jobs: | |
uses: marocchino/[email protected] | ||
with: | ||
number: ${{ steps.finder.outputs.pr }} | ||
# message: | | ||
# ### Website preview 🔗✨ | ||
# - 🙂 https://w3s.link/ipfs/${{ steps.ipfs.outputs.cid }} | ||
# - ⛅️ ${{ steps.cloudflare_url.outputs.stdout }} | ||
|
||
# [build log](/${{ github.repository }}/actions/runs/${{ github.run_id }}) | ||
message: | | ||
### Website preview 🔗✨ | ||
- 🙂 https://w3s.link/ipfs/${{ steps.ipfs.outputs.cid }} | ||
- ⛅️ ${{ steps.cloudflare_url.outputs.stdout }} | ||
[build log](/${{ github.repository }}/actions/runs/${{ github.run_id }}) | ||
- name: Add Preview URLs as Job Summary | ||
# run: | | ||
# echo " | ||
# ### Website preview 🔗✨ | ||
# - 🙂 https://w3s.link/ipfs/${{ steps.ipfs.outputs.cid }} | ||
# - ⛅️ ${{ steps.cloudflare_url.outputs.stdout }} | ||
|
||
# [build log](/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY | ||
run: | | ||
echo " | ||
### Website preview 🔗✨ | ||
- 🙂 https://w3s.link/ipfs/${{ steps.ipfs.outputs.cid }} | ||
- ⛅️ ${{ steps.cloudflare_url.outputs.stdout }} | ||
[build log](/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> $GITHUB_STEP_SUMMARY | ||
|
@@ -302,18 +313,18 @@ jobs: | |
NEXT_PUBLIC_W3UP_LAUNCH_LIMITED_AVAILABILITY_START: ${{ vars.NEXT_PUBLIC_W3UP_LAUNCH_LIMITED_AVAILABILITY_START }} | ||
DID_DOCUMENT_ID: ${{ secrets.PRODUCTION_DID_DOCUMENT_ID }} | ||
DID_DOCUMENT_PRIMARY_DID_KEY: ${{ secrets.PRODUCTION_DID_DOCUMENT_PRIMARY_DID_KEY }} | ||
- name: Add to web3.storage | ||
uses: web3-storage/add-to-web3@v2 | ||
id: ipfs | ||
with: | ||
path_to_add: packages/website/out | ||
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: packages/website/out | ||
# 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 https://web3.storage to Cloudflare Pages | ||
run: npx wrangler pages publish --project-name web3-storage --branch "main" --commit-hash "$GITHUB_SHA" ./packages/website/out | ||
env: | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -46,7 +46,7 @@ | |
] | ||
}, | ||
"engines": { | ||
"node": "16.x", | ||
"node": "18.x", | ||
"npm": ">=7.x" | ||
} | ||
} |
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
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
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
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
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
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
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
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
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
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
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