Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
MoLow committed Oct 1, 2023
1 parent cc38eae commit a2d5320
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ansible/www-standalone/tools/promote/_promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ for subdir in $(cd $srcdir && ls); do
fi

rm -f "${srcdir}/${subdir}/${donefile}"
. ${__dirname}/upload_to_cloudflare.sh $site $subdir

done

if [ "X${version}" == "X" ] && [ "$resha" == "yes" ]; then
${__dirname}/_resha.sh $site $dstdir $subdir
fi

. ${__dirname}/upload_to_cloudflare.sh $site $subdir

fi

done
Expand Down
2 changes: 0 additions & 2 deletions ansible/www-standalone/tools/promote/promote_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ while true; do
if [ "X${yorn}" == "Xy" ]; then
. ${__dirname}/_promote.sh $site $2
nodejs-latest-linker /home/dist/${site}/release/ /home/dist/${site}/docs/
dstdir=/home/dist/${site}/docs
. ${__dirname}/upload_to_cloudflare.sh $site $2
break
fi
done
2 changes: 2 additions & 0 deletions ansible/www-standalone/tools/promote/resha_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ fi

${__dirname}/_resha.sh $site $dstdir $2

. ${__dirname}/upload_to_cloudflare.sh $site $2

/home/nodejs/queue-cdn-purge.sh $site resha_release

0 comments on commit a2d5320

Please sign in to comment.