This is an automated email from the ASF dual-hosted git repository. mck pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cassandra-website.git
The following commit(s) were added to refs/heads/master by this push: new 8c7cef9 update README.md to describe how the ci-cassandra.apache.org CD works 8c7cef9 is described below commit 8c7cef95f0f4aa715c441325ec0ed16b66b11707 Author: mck <m...@apache.org> AuthorDate: Thu Sep 3 10:28:03 2020 +0200 update README.md to describe how the ci-cassandra.apache.org CD works --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f39a6c..1645cbe 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,26 @@ $ docker-compose up cassandra-website-serve For information about the site layout see the **Layout** section of [README](src/README#layout) in the _src_ directory. -Merging `asf-staging` to `asf-site` + +How ci-cassandra.apache.org continuously deploys to cassandra.staged.apache.org +------------------------------------------------------------------------------- + +The `cassandra-website` job on ci-cassandra.apache.org performs the following steps to CD master builds to cassandra.staged.apache.org + +``` +git checkout asf-staging +git reset --hard origin/master +docker-compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g) cassandra-website +docker-compose run cassandra-website +#git status +git add content/ src/doc/ +git commit -a -m "generate docs for $(git rev-parse --short HEAD)" +#git show --stat HEAD +git push -f origin asf-staging +``` + + +Publishing to cassandra.apache.org :: Merging `asf-staging` to `asf-site` ----------------------------------- Updating the main website, after verifying the staged website, involves copying the `asf-staging` branch to `asf-site`. A normal git merge is not used, because the `asf-staging` is forced updated after each ci-cassandra.apache.org build. Instead make live the staged website by copying the `asf-staging` to the `asf-site` branch. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org