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

dahn pushed a commit to branch old-style-blogs
in repository https://gitbox.apache.org/repos/asf/cloudstack-www.git

commit 69beaa8e4882012611ef77ce073868645375dd13
Author: Daan Hoogland <[email protected]>
AuthorDate: Thu Jan 4 10:44:33 2024 +0100

    blog in old site procedure
---
 README.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/README.md b/README.md
index ee5c7ab1..41b06cb8 100644
--- a/README.md
+++ b/README.md
@@ -43,3 +43,19 @@ This command generates static content into the `build` 
directory and can be
 served using any static contents hosting service. We've Github Actions based
 automation that can publish changes merged to 'main' branch being automatically
 published to the 'asf-site'.
+
+### temporary blog only publishing mech
+
+This procedure is obsolete as soon as the site is migrated to docusaurus 
completely
+
+1. Build the docusaruas branch locally:
+```
+   cp docusaurus.config.js.blog docusaurus.config.js
+   yarn install
+   yarn build
+```
+2. Then move the `build` directory to some other place, like `mv build ..`
+3. `git checkout -- .` and then checkout `git checkout asf-site` branch
+4. `cd content/` to manually copy artifacts from `../build/` path.
+5. Generally I copy the `assets`, `blog`, `img` and `files` directory in the 
content directory from `../../build/`
+6. git add <files> and commit/push to asf-site branch

Reply via email to