This commit is contained in:
weyu 2025-03-28 15:40:19 +08:00
parent f7b64351a1
commit 8ad9ef620c
2 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@ jobs:
git clone $project $workdir
ls $workdir
find ./webs -name toto.sh -exec . {} \;
find ./webs -name toto.sh -exec /bin/bash {} $workdir $initdir \;
src=`cat ${workdir}/ret-data|grep -v ^$|head -n 1|awk -F'&' '{print $1}'`
dest=`cat ${workdir}/ret-data|grep -v ^$|head -n 1|awk -F'&' '{print $2}'`

View File

@ -1,8 +1,8 @@
#workdir=$1
#initdir=$2
workdir=$1
initdir=$2
#source ${initdir}/libs/common.sh
source ${initdir}/libs/common.sh
before_helm_website(){
echo "install hugo"
@ -35,7 +35,7 @@ after_helm_website(){
}
save_return(){
echo "复制文件到OSS"
echo "复制文件到OSS $workdir $initdir"
touch ${workdir}/ret-data
echo 'app&oss://cncfstack-helm' > ${workdir}/ret-data
}