This commit is contained in:
weyu 2025-03-28 15:32:03 +08:00
parent 41dd73bba0
commit df2b6628d2
2 changed files with 6 additions and 8 deletions

View File

@ -34,6 +34,8 @@ jobs:
initdir=`pwd`
source ${initdir}/libs/common.sh
for project in `cat push.list`
do
@ -45,10 +47,8 @@ jobs:
git clone $project $workdir
ls $workdir
find ./webs -name toto.sh -exec bash -x {} $workdir $initdir \;
find ./webs -name toto.sh -exec source {} \;
# ret="build-output-dirpash&remote_oss_path"
#ret=`toto.sh $project`
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,9 +1,8 @@
#!/bin/bash
workdir=$1
initdir=$2
#workdir=$1
#initdir=$2
source ${initdir}/libs/common.sh
#source ${initdir}/libs/common.sh
before_helm_website(){
echo "install hugo"
@ -50,4 +49,3 @@ if cat .git/config |grep '/helm/helm-www.git' ;then
after_helm_website
save_return
fi
cd -