diff --git a/.github/workflows/_push.yml b/.github/workflows/_push.yml index f99d322..b7a7383 100644 --- a/.github/workflows/_push.yml +++ b/.github/workflows/_push.yml @@ -10,6 +10,6 @@ jobs: - uses: actions/checkout@v4 - name: Push To-To-To run: | - /bin/bash build.sh https://github.com/litmuschaos/litmus-docs.git + /bin/bash build.sh https://github.com/chaos-mesh/website.git src=`cat project_dir/ret-data|grep -v ^$|head -n 1` ./ossutil --access-key-id ${{ secrets.ALIYUN_CYG_OSS_AK }} --access-key-secret ${{ secrets.ALIYUN_CYG_OSS_SK }} --endpoint ${{ secrets.ALIYUN_CYG_OSS_ENDPOINT }} --region ${{ secrets.ALIYUN_CYG_OSS_REGION }} cp -f ${src} oss://cncfstack-website/ \ No newline at end of file diff --git a/all.list b/all.list index ecc4d91..db92def 100644 --- a/all.list +++ b/all.list @@ -1,9 +1,7 @@ https://github.com/open-telemetry/opentelemetry.io.git https://github.com/helm/helm-www.git https://github.com/kubernetes/website.git - https://github.com/vitessio/website.git - https://github.com/kubeedge/website.git https://github.com/openyurtio/openyurt.io.git https://github.com/karmada-io/website.git @@ -13,11 +11,9 @@ https://github.com/volcano-sh/website.git https://github.com/fluxcd/website.git https://github.com/tikv/website.git https://github.com/etcd-io/website.git - https://github.com/jaegertracing/documentation.git https://github.com/grpc/grpc.io.git https://github.com/emissary-ingress/emissary-ingress.dev.git - https://github.com/kedacore/keda-docs.git https://github.com/kubeflow/website.git https://github.com/istio/istio.io.git diff --git a/push.list b/push.list deleted file mode 100644 index 6d12c5a..0000000 --- a/push.list +++ /dev/null @@ -1 +0,0 @@ -https://github.com/crossplane/docs.git \ No newline at end of file diff --git a/webs/chaosmesh/toto.sh b/webs/chaosmesh/toto.sh index ff3f198..32e6c02 100644 --- a/webs/chaosmesh/toto.sh +++ b/webs/chaosmesh/toto.sh @@ -4,7 +4,12 @@ before_build(){ npm install + # 添加网站访问统计JS sed -i "s|plugins:\s*\[|plugins: [()=>({name:'umami-analytics',injectHtmlTags:()=>({headTags:[{tagName:'script',attributes:{defer:true,src:'https://umami.cncfstack.com/script.js','data-website-id':'e560133a-5a27-40ad-b816-9896199ffb01'}}]})}),|g" docusaurus.config.js + + # URL 配置影响站点的 sitemap.xml 文件的生成 + sed -i "s|url: 'https://chaos-mesh.org',|url: 'https://chaosmesh.website.cncfstack.com',|g" docusaurus.config.js + cat ./docusaurus.config.js # plugins: [