WillemJiang commented on a change in pull request #26: .travis.yml for 
integrate travis ci
URL: 
https://github.com/apache/incubator-servicecomb-docs/pull/26#discussion_r207260957
 
 

 ##########
 File path: .travis.yml
 ##########
 @@ -1,28 +1,12 @@
-language: ruby
-rvm:
-  - 2.5.1
-gvm: 
-  - 2.7.7
-before_install:
-  - echo "start"
-  
 script:
-  #- gem install jekyll bundler
- # - bundle install
- # - npm install gitbook-cli -g
-  #- cd script
-  - git clone https://github.com/apache/incubator-servicecomb-docs.git
-  #- gitbook build incubator-servicecomb-docs/java-chassis-reference 
../users/servicecomb-java-chassis-doc
-  #- cd ..
-  #- bundle exec jekyll build --config _config.yml
-
+  - git clone --depth=10 --branch=master https://GIT_URL 
incubator-servicecomb-website
+  - cp -r java-chassis-reference 
incubator-servicecomb-website/users/servicecomb-java-chassis-doc
+       - cd incubator-servicecomb-website
 after_success:
-
-  #- git checkout -b asf-site
-  - git add .
+  - git checkout -b master
+  - git add users/servicecomb-java-chassis-doc/java-chassis-reference/
   - git commit -m "update the website docs source"
   - git push --force https://$DEPLOY_TOKEN@$GIT_URL maser
 
 Review comment:
   I don't think you have the right to do this. 
   It's better that we just publish the gitbook there, and using the link in 
the website to access generated gitbook here.

----------------------------------------------------------------
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

Reply via email to