alamb commented on code in PR #11: URL: https://github.com/apache/datafusion-site/pull/11#discussion_r1690113764
########## README.md: ########## @@ -38,4 +38,30 @@ bundle exec jekyll serve ## 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 Review Comment: Filed https://github.com/apache/datafusion-site/issues/13 ########## README.md: ########## @@ -38,4 +38,30 @@ bundle exec jekyll serve ## 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' Review Comment: Yes, good call -- will fix -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
