From 26fde536a79d2899ae8286302ec7880fed93d095 Mon Sep 17 00:00:00 2001 From: Iain Nash Date: Mon, 9 Sep 2024 12:06:11 -0400 Subject: [PATCH] Update docs build flow to include google analytics info (#721) --- .github/workflows/docs.yml | 2 ++ docs/vocs.config.ts | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ef73c9de..52e13946 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -36,6 +36,8 @@ jobs: - name: Build Project Artifacts run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} + env: + GOOGLE_ANALYTICS_TAG_ID: ${{ secrets.DOCS_GOOGLE_ANALYTICS_TAG_ID }} - name: Deploy Project Artifacts to Vercel run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} diff --git a/docs/vocs.config.ts b/docs/vocs.config.ts index 1361393a..1a492bcf 100644 --- a/docs/vocs.config.ts +++ b/docs/vocs.config.ts @@ -243,7 +243,6 @@ export default defineConfig({ plugins: process.env.GOOGLE_ANALYTICS_TAG_ID ? [ VitePluginRadar({ - enableDev: true, analytics: { id: process.env.GOOGLE_ANALYTICS_TAG_ID as string, },