This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new ed297ee3200 fix: no need to run bin scripts anymore
ed297ee3200 is described below
commit ed297ee32006d64cd048382f022886a2289252ba
Author: tison <[email protected]>
AuthorDate: Wed Dec 14 13:27:31 2022 +0800
fix: no need to run bin scripts anymore
Signed-off-by: tison <[email protected]>
---
site2/tools/docker-build-site.sh | 3 ---
1 file changed, 3 deletions(-)
diff --git a/site2/tools/docker-build-site.sh b/site2/tools/docker-build-site.sh
index 1ba434cd680..af380716235 100755
--- a/site2/tools/docker-build-site.sh
+++ b/site2/tools/docker-build-site.sh
@@ -39,9 +39,6 @@ CI_GROUP=$(id -g)
DOCKER_CMD="docker run -i -e CI_USER=$CI_USER -e CI_GROUP=$CI_GROUP -v
$HOME/.m2:/root/.m2 -v $ROOT_DIR:/pulsar $IMAGE"
-sed -i "s#$ROOT_DIR#/pulsar#g"
$ROOT_DIR/distribution/server/target/classpath.txt
-sed -i "s#$HOME#/root#g" $ROOT_DIR/distribution/server/target/classpath.txt
-
CMD="cd /pulsar && /pulsar/site2/tools/build-site.sh $GH_TOKEN $@"
echo "docker exec cmd: "$CMD
$DOCKER_CMD bash -l -c "$CMD"