diff --git a/.github/workflows/deploy_preview.yml b/.github/workflows/deploy_preview.yml
index 8e46c181..e811efe6 100644
--- a/.github/workflows/deploy_preview.yml
+++ b/.github/workflows/deploy_preview.yml
@@ -11,7 +11,7 @@ permissions:
jobs:
deploy:
name: Build and deploy
- uses: primer/.github/.github/workflows/deploy_preview.yml@main
+ uses: primer/.github/.github/workflows/deploy_preview.yml@v1.0.0
secrets:
gh_token: ${{ secrets.GITHUB_TOKEN }}
with:
diff --git a/redirects.json b/redirects.json
index f71cdd88..2f1fad82 100644
--- a/redirects.json
+++ b/redirects.json
@@ -55,11 +55,6 @@
"match": "primitives/spacing",
"destination": "/primitives/storybook/?path=/story/size-base--base"
},
- {
- "name": "Redirect /primitives/typography",
- "match": "primitives/typography",
- "destination": "/primitives/storybook/?path=/story/typography-base--base"
- },
{
"name": "Redirect /primitives",
"match": "^primitives/?$",
@@ -857,22 +852,22 @@
{
"name": "ViewComponents Preview assets proxy",
"match": "^assets/(.*)",
- "destination": "https://view-components-storybook.eastus.cloudapp.azure.com/assets/{R:1}"
+ "destination": "https://primer-lookbook.github.com/assets/{R:1}"
},
{
"name": "ViewComponents Lookbook assets proxy",
"match": "^lookbook-assets/(.*)",
- "destination": "https://view-components-storybook.eastus.cloudapp.azure.com/lookbook-assets/{R:1}"
+ "destination": "https://primer-lookbook.github.com/lookbook-assets/{R:1}"
},
{
"name": "ViewComponents Lookbook proxy",
"match": "^view-components/lookbook/(.*)",
- "destination": "https://view-components-storybook.eastus.cloudapp.azure.com/view-components/lookbook/{R:1}"
+ "destination": "https://primer-lookbook.github.com/view-components/lookbook/{R:1}"
},
{
"name": "ViewComponents Rails App proxy",
"match": "^view-components/rails-app/(.*)",
- "destination": "https://view-components-storybook.eastus.cloudapp.azure.com/view-components/rails-app/{R:1}"
+ "destination": "https://primer-lookbook.github.com/view-components/rails-app/{R:1}"
},
{
"name": "Presentations proxy",
diff --git a/src/components/CustomHead.js b/src/components/CustomHead.js
new file mode 100644
index 00000000..e3985c60
--- /dev/null
+++ b/src/components/CustomHead.js
@@ -0,0 +1,11 @@
+import React from 'react'
+import Helmet from 'react-helmet'
+
+export default function CustomHead() {
+ return (
+
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/src/components/Layout.js b/src/components/Layout.js
index c97d9524..a7c3836e 100644
--- a/src/components/Layout.js
+++ b/src/components/Layout.js
@@ -1,5 +1,6 @@
import {Box, ThemeProvider} from '@primer/react'
import {Head, Header} from '@primer/gatsby-theme-doctocat'
+import CustomHead from './CustomHead'
import '@primer/css/layout/index.scss'
import React from 'react'
@@ -7,6 +8,7 @@ export default function Layout({pageContext, children, colorMode}) {
return (
+
{children}