This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-site.git


The following commit(s) were added to refs/heads/main by this push:
     new a8565ed  Minor: add publishing instructions (#11)
a8565ed is described below

commit a8565ed1ec3a33437e25d9f8bdba4336c7236d26
Author: Andrew Lamb <[email protected]>
AuthorDate: Wed Jul 24 12:27:58 2024 -0400

    Minor: add publishing instructions (#11)
---
 README.md | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 621acb1..23bac24 100644
--- a/README.md
+++ b/README.md
@@ -53,4 +53,30 @@ Then open http://localhost:4000/blog/ to see the blog locally
 
 ## Publish site
 
-TBD, but create the html with `bundle exec jekyll build` then check the 
content into `asf-site` branch
\ No newline at end of file
+This is currently a manual process. Basic steps are:
+
+#### Check out `main` and build site
+```shell
+# Check out latest code
+git checkout main
+git pull
+# build site (html is left in _site directory)
+bundle exec jekyll build
+```
+
+#### Check out `asf-site` and copy content
+Checkout a separate copy of `datafusion-site`
+
+```shell
+git checkout asf-site
+git pull
+# create a branch for the publishing
+git checkout -b publish_blog
+# copy content built from _site directory
+cp -R ../datafusion-site/_site/* .
+git commit -a -m 'Publish blog content'
+```
+
+#### Make PR, targeting the `asf-site` branch
+For example, see https://github.com/apache/datafusion-site/pull/9
+


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to