diff --git a/gatsby-node.esm.js b/gatsby-node.esm.js index 9c23dac30..e89a50d39 100644 --- a/gatsby-node.esm.js +++ b/gatsby-node.esm.js @@ -196,7 +196,7 @@ async function sourcePrimerRailsData({actions, createNodeId, createContentDigest actions.createNode(newNode) // Save the PVC data to the GraphQL store - const url = `https://api.github.com/repos/primer/view_components/contents/static/info_arch.json?ref=main` + const url = `https://api.github.com/repos/primer/view_components/contents/static/info_arch.json?ref=v${version}` const argsJson = await fetch(url).then(res => res.json()) const argsContent = JSON.parse(Buffer.from(argsJson.content, 'base64').toString())