Skip to content

Commit

Permalink
chore: use vercel system variables
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-bell committed Jun 29, 2023
1 parent 791068e commit 6186888
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { useRouter } from "next/router";

export const config = {
title: "cva",
branch: "main",
repo: "joe-bell/cva",
domain: "cva.style",
description: "Class Variance Authority",
author: {
Expand All @@ -14,6 +12,11 @@ export const config = {
},
og: "/assets/img/og.png",
favicon: "/assets/img/favicon.png",
branch: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF || "main",
repo: [
process.env.NEXT_PUBLIC_VERCEL_GIT_REPO_OWNER || "joe-bell",
process.env.NEXT_PUBLIC_VERCEL_GIT_REPO_SLUG || "cva",
].join("/"),
} as const;

export const PROJECT = `https://github.com/${config.repo}`;
Expand Down

1 comment on commit 6186888

@vercel
Copy link

@vercel vercel bot commented on 6186888 Jun 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.