chore: update GA
This commit is contained in:
parent
0b6cc8db7b
commit
d9581ddebf
|
@ -20,17 +20,17 @@ jobs:
|
||||||
node-version: "12.x"
|
node-version: "12.x"
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: yarn && yarn build
|
run: yarn && yarn generate
|
||||||
env:
|
env:
|
||||||
CI: false
|
CI: false
|
||||||
|
|
||||||
- name: Authenticate
|
- name: Authenticate
|
||||||
run: sudo chmod 775 ./build/ && ls
|
run: sudo chmod 775 ./.output/public/ && ls
|
||||||
|
|
||||||
- name: Upload COS
|
- name: Upload COS
|
||||||
uses: ciaochaos/tencent-cos-action@master
|
uses: ciaochaos/tencent-cos-action@master
|
||||||
with:
|
with:
|
||||||
args: delete -r -f / && upload -r ./build/ /
|
args: delete -r -f / && upload -r ./.output/public/ /
|
||||||
secret_id: ${{ secrets.SECRET_ID }}
|
secret_id: ${{ secrets.SECRET_ID }}
|
||||||
secret_key: ${{ secrets.SECRET_KEY }}
|
secret_key: ${{ secrets.SECRET_KEY }}
|
||||||
bucket: ${{ secrets.BUCKET }}
|
bucket: ${{ secrets.BUCKET }}
|
||||||
|
|
|
@ -2,15 +2,14 @@
|
||||||
<html lang="zh">
|
<html lang="zh">
|
||||||
<head>
|
<head>
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-165845289-1"></script>
|
<!-- Google tag (gtag.js) -->
|
||||||
<script data-ad-client="ca-pub-3611009408282658" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XKEWNQ1T0E"></script>
|
||||||
<script>
|
<script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
|
|
||||||
gtag('config', 'UA-165845289-1');
|
gtag('config', 'G-XKEWNQ1T0E');
|
||||||
gtag('config', 'G-3NKS6ZG27V');
|
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
(function(){
|
(function(){
|
||||||
|
|
Loading…
Reference in New Issue