This is an automated email from the ASF dual-hosted git repository. kturner pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/fluo-website.git
The following commit(s) were added to refs/heads/gh-pages by this push: new acae13e Add committer instructions to readme (#116) acae13e is described below commit acae13e6e27c83d7c83c536f4d8a34a3a73e7753 Author: Keith Turner <ke...@deenlo.com> AuthorDate: Fri Dec 22 14:52:24 2017 -0500 Add committer instructions to readme (#116) --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 7d7a82f..6f4de1b 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,33 @@ replace any reference to `fluo` with `recipes`. 3. Update `_config.yml` by adding a `fluo-1-3` collection and setting default values for it. You may want to keep 1.2 values for github & javadocs until 1.3 is released. + +## Committer instructions + +To publish Fluo's website the `gh-pages` branch must be rendered into the `asf-site` +branch. The script `_scripts/git-hooks/post-commit` automates rendering into the `asf-site` branch. +The commands below serve as a guide for committers who wish to publish the web site. + +```bash + # ensure local asf-site branch is up to date + git checkout asf-site + git pull upstream asf-site + + # switch to gh-pages branch, update it, and build new site + git checkout gh-pages + git pull upstream gh-pages + ./_scripts/git-hooks/post-commit + + # switch to asf-site, look at the commit created by post-commit script, and push it if ok + git checkout asf-site + git log -p + git push upstream asf-site +``` + +In the commands above `upstream` is + +``` +$ git remote -v | grep upstream +upstream https://gitbox.apache.org/repos/asf/fluo-website/ (fetch) +upstream https://gitbox.apache.org/repos/asf/fluo-website/ (push)`` +``` -- To stop receiving notification emails like this one, please contact ['"commits@fluo.apache.org" <commits@fluo.apache.org>'].