You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/09/19 01:26:20 UTC
[servicecomb-website] branch asf-site updated: Update the README
file for how to publish the website
This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 48cfe91 Update the README file for how to publish the website
48cfe91 is described below
commit 48cfe91c5efaad24dd017833016934aa685ed928
Author: Willem Jiang <wi...@gmail.com>
AuthorDate: Thu Sep 19 09:26:16 2019 +0800
Update the README file for how to publish the website
---
README.md | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index cd08f74..fd1f5ef 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,26 @@ Please sent your PR to the master branch instead of asf-site.
`sudo bundle exec jekyll server`
-* Start web browser to access `http://localhost:4000`
+* Start web browser to access `http://localhost:4000`
+
+# How to push the change to apache website
+
+* Switch to asf-site branch
+
+ `git checkout asf-site`
+
+* Merge the changes of master branch
+
+ `git merge master`
+
+* Generate the website static pages
+
+ `bundle exec jekyll build`
+
+* Commit the changes into git repo
+
+ `git add content `
+ `git commit -m "publish website"`
**Note that tested versions of the tools covered in this section are as following,**