Skip to content

Commit

Permalink
feat(sendsay-docs): add metatag for google search console (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lullabyq authored Dec 11, 2023
1 parent 8dc0fba commit c00b5d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
GTM_ANALYTICS_ID: ${{ secrets.GTM_ANALYTICS_ID }}
GTM_LANDING_GROUP_COUNTER_ID: ${{ secrets.GTM_LANDING_GROUP_COUNTER_ID }}
YANDEX_METRICA_COUNTER_ID: ${{ secrets.YANDEX_METRICA_COUNTER_ID }}
GOOGLE_VERIFICATION_CODE: ${{ secrets.GOOGLE_VERIFICATION_CODE }}

steps:
- name: Checkout
Expand Down
8 changes: 8 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');

const plugins = require('./plugins');
const googleVerificationCode = process.env.GOOGLE_VERIFICATION_CODE;

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'База знаний Sendsay',
Expand Down Expand Up @@ -148,6 +150,12 @@ const config = {
dark: 'rgb(50, 50, 50)',
},
},
metadata: [
{
name: 'google-site-verification',
content: googleVerificationCode,
},
],
},
};

Expand Down

0 comments on commit c00b5d1

Please sign in to comment.