Skip to content

Commit

Permalink
add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Spica-Vir committed Nov 3, 2024
1 parent 4af8818 commit bf207a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/sphinx_docs_to_gh_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
sphinxapiopts: '-o ../ ../CRYSTALpytools/'
sphinxapiexclude: '*setup* *.ipynb test*'
sphinxopts: ''
- name: Copy meta tag from Google Search Console
shell: bash -l {0}
run: |
sed -i '/<head>/a\ <meta name="google-site-verification" content="VCwinqac8JtcGFEAmAYxTO3I1MmOx119sGsTHSDtFYE" />' docs_source/_build/html/index.html
# - name: Copy HTML verification from Google Search Console
# env:
# TARGET_BRANCH: 'gh-pages'
# run: |
# git checkout $TARGET_BRANCH
# git checkout ${GITHUB_REF##*/} --
1 change: 1 addition & 0 deletions docs_source/google17e5e20a758b3984.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: google17e5e20a758b3984.html

0 comments on commit bf207a2

Please sign in to comment.