WillemJiang commented on a change in pull request #127: update deploy logic and make arc and setup-env docs migration URL: https://github.com/apache/incubator-servicecomb-website/pull/127#discussion_r208221460
########## File path: script/deploy ########## @@ -1,10 +1,9 @@ #!/bin/bash - -git clone https://github.com/apache/incubator-servicecomb-docs.git - -gitbook build incubator-servicecomb-docs/java-chassis-reference users/servicecomb-java-chassis-doc - -bundle exec jekyll build --config _config.yml - -bundle exec jekyll server --port 4000 --host +script_dir=$(cd `dirname $0`; pwd) +echo cru$script_dir +base_dir=`dirname ${script_dir}` +echo build $base_dir +cd ${base_dir} +sudo bundle exec jekyll build --config _config.yml +sudo bundle exec jekyll server --port 4000 --host Review comment: when running the server the host url is changed, it is not for the asf-site to use. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
