diff --git a/push.list b/push.list index 34cad74..1fec4cf 100644 --- a/push.list +++ b/push.list @@ -1 +1 @@ -https://github.com/volcano-sh/website.git \ No newline at end of file +https://github.com/kubevela/kubevela.github.io.git \ No newline at end of file diff --git a/webs/kubevela/aa b/webs/kubevela/aa deleted file mode 100644 index 9bcdc72..0000000 --- a/webs/kubevela/aa +++ /dev/null @@ -1,26 +0,0 @@ -before_kubevela(){ - npm install - 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':'8c8b1d6d-a7fa-43ca-9933-db30591777e9'}}]})}),|g" docusaurus.config.js - cat ./docusaurus.config.js -} - -after_kubevela(){ - echo "npm build-----" - - npm run build - - ls -lh - - echo "复制文件到OSS" - $OSSUTIL cp -fr build oss://cncfstack-kubevela -} - - -toto(){ - if cat .git/config |grep '/kubevela/kubevela.github.io.git' ;then - echo "/kubevela/kubevela.github.io.git" - before_kubevela - find_and_sed - after_kubevela - fi -} diff --git a/webs/kubevela/bb b/webs/kubevela/bb deleted file mode 100644 index 89423ae..0000000 --- a/webs/kubevela/bb +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -echo $1 diff --git a/webs/kubevela/toto.sh b/webs/kubevela/toto.sh index 762813b..c545fc0 100644 --- a/webs/kubevela/toto.sh +++ b/webs/kubevela/toto.sh @@ -6,7 +6,7 @@ source ${initdir}/libs/common.sh before_kubevela(){ - npm install + yarn install 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':'8c8b1d6d-a7fa-43ca-9933-db30591777e9'}}]})}),|g" docusaurus.config.js cat ./docusaurus.config.js } @@ -14,7 +14,7 @@ before_kubevela(){ after_kubevela(){ echo "npm build-----" - npm run build + yarn build ls -lh