Skip to content

Commit

Permalink
Merge branch 'main' into feat/FET-1625-all-data-should-refetched-on-r…
Browse files Browse the repository at this point in the history
…efresh
  • Loading branch information
sugh01 authored Oct 29, 2024
2 parents a50eb4a + 0332869 commit c7deee9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/pages-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,16 @@ jobs:
SITEMAP_GRAPH_KEY: ${{ secrets.SITEMAP_GRAPH_KEY }}

- name: Publish
uses: cloudflare/pages-action@v1
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: ens-app-v3
directory: out
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
wranglerVersion: '3'
wranglerVersion: 'v3.57.1'
command: pages deploy --project-name=ens-app-v3
secrets: |
GITHUB_TOKEN
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Submit sitemap
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/legacyfavourites.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function Page() {
name,
network: chainId,
hasOtherItems: false,
expiryDate: { date: expiry, value: expiry.getTime() },
expiryDate: { date: expiry, value: expiry?.getTime() },
}}
/>
))}
Expand Down
4 changes: 3 additions & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# compatibility_flags = [ "streams_enable_constructors" ] // Prevents wrangle from launching
# compatibility_flags = [ "streams_enable_constructors" ] // Prevents wrangle from launching
name = "ens-app-v3"
pages_build_output_dir = "out"

0 comments on commit c7deee9

Please sign in to comment.