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, },