chore: update GA

This commit is contained in:
CPunisher 2023-06-22 01:46:24 +08:00
parent 0b6cc8db7b
commit d9581ddebf
2 changed files with 10 additions and 11 deletions

View File

@ -20,17 +20,17 @@ jobs:
node-version: "12.x"
- name: Build project
run: yarn && yarn build
run: yarn && yarn generate
env:
CI: false
- name: Authenticate
run: sudo chmod 775 ./build/ && ls
run: sudo chmod 775 ./.output/public/ && ls
- name: Upload COS
uses: ciaochaos/tencent-cos-action@master
with:
args: delete -r -f / && upload -r ./build/ /
args: delete -r -f / && upload -r ./.output/public/ /
secret_id: ${{ secrets.SECRET_ID }}
secret_key: ${{ secrets.SECRET_KEY }}
bucket: ${{ secrets.BUCKET }}

View File

@ -2,15 +2,14 @@
<html lang="zh">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-165845289-1"></script>
<script data-ad-client="ca-pub-3611009408282658" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XKEWNQ1T0E"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-165845289-1');
gtag('config', 'G-3NKS6ZG27V');
gtag('config', 'G-XKEWNQ1T0E');
</script>
<script>
(function(){