Skip to content

Commit

Permalink
Update docs build flow to include google analytics info (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
iainnash authored Sep 9, 2024
1 parent 21a7d45 commit 26fde53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
1 change: 0 additions & 1 deletion docs/vocs.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 26fde53

Please sign in to comment.