Skip to content

Commit

Permalink
Added google site verification meta tag (#570)
Browse files Browse the repository at this point in the history
Co-authored-by: Zinovii Dmytriv <[email protected]>
  • Loading branch information
zdmytriv and Zinovii Dmytriv authored Mar 22, 2023
1 parent 4e19660 commit a0e4520
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/website-deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ env:
DEPLOYMENT_HOST: pr-${{ github.event.pull_request.number }}.cloudposse-docs.ue2.dev.plat.cloudposse.org
ALGOLIA_INDEX_NAME: docs-preview.cloudposse.com
ALGOLIA_APP_ID: 32YOERUX83
GOOGLE_TAG_MANAGER: GTM-ABCD123
GOOGLE_SITE_VERIFICATION_ID: preview-github

# These permissions are needed to interact with the GitHub's OIDC Token endpoint
permissions:
Expand Down Expand Up @@ -90,7 +92,8 @@ jobs:
- name: Install Dependencies and Build Website
env:
GOOGLE_TAG_MANAGER: GTM-ABCD123
GOOGLE_TAG_MANAGER: ${{ env.GOOGLE_TAG_MANAGER }}
GOOGLE_SITE_VERIFICATION_ID: ${{ env.GOOGLE_SITE_VERIFICATION_ID }}
run: |
make init
make build-production
Expand Down
1 change: 1 addition & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
metadata: [{name: 'google-site-verification', content: process.env.GOOGLE_SITE_VERIFICATION_ID || 'preview-local'}],
docs: {
sidebar: {
hideable: true,
Expand Down

0 comments on commit a0e4520

Please sign in to comment.