fix
This commit is contained in:
parent
41dd73bba0
commit
df2b6628d2
|
@ -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}'`
|
||||
|
||||
|
|
|
@ -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 -
|
||||
|
|
Loading…
Reference in New Issue