Skip to content

Commit

Permalink
Use specific sitemap graph key
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonmanRolls committed Sep 5, 2024
1 parent 52f8eff commit 17e12a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pages-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:
run: |
mkdir -p ./out/sitemaps
pnpm generate:sitemaps
env:
SITEMAP_GRAPH_KEY: ${{ secrets.SITEMAP_GRAPH_KEY }}

- name: Publish
uses: cloudflare/pages-action@v1
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-site-map.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {

import { normalise } from '@ensdomains/ensjs/utils'

const ENS_SUBGRAPH_API_KEY = 'fb9b07f6c149fbdbe946149837a1d673'
const ENS_SUBGRAPH_API_KEY = process.env.SITEMAP_GRAPH_KEY
const baseURL = 'https://app.ens.domains'
const graphAPI = `https://gateway-arbitrum.network.thegraph.com/api/${ENS_SUBGRAPH_API_KEY}/subgraphs/id/5XqPmWe6gjyrJtFn9cLy237i4cWw2j9HcUJEXsP5qGtH`

Expand Down

0 comments on commit 17e12a6

Please sign in to comment.