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

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


The following commit(s) were added to refs/heads/main by this push:
     new b7a036d2f4d Add note about how to fix website update issue
b7a036d2f4d is described below

commit b7a036d2f4d25b664a414b8809c6d3856bef11b0
Author: Lari Hotari <[email protected]>
AuthorDate: Wed Oct 1 21:04:04 2025 -0700

    Add note about how to fix website update issue
---
 README.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/README.md b/README.md
index 7e893a06c96..be8a03c17b5 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,20 @@ After committing the changes for the `docs` directory, you 
can use the `docs-too
   * [Updating 
documentation](https://pulsar.apache.org/contribute/document-contribution/)
   * [Previewing 
content](https://pulsar.apache.org/contribute/document-preview/)
 
+
+## Website not getting updated?
+
+If the https://pulsar.apache.org website doesn't get updated, [check the 
latest GitHub Actions workflow run for the main 
branch](https://github.com/apache/pulsar-site/actions/workflows/ci-build-site.yml?query=branch%3Amain).
 If it succeeded, the problem could be that the [git history for the 
asf-site-next 
branch](https://github.com/apache/pulsar-site/commits/asf-site-next/) is too 
large and needs to be truncated. Here are the commands to perform that task:
+
+```shell
+git clone -b asf-site-next https://github.com/apache/pulsar-site 
pulsar-site-static
+cd pulsar-site-static
+git checkout --orphan asf-site-next-reset
+git add -A
+git commit -m "History resetted"
+git push -f HEAD:asf-site-next
+```
+
 ## Contact information
 
 * Submit [an issue](https://github.com/apache/pulsar/issues/new) on the [main 
apache/pulsar repo](http://github.com/apache/pulsar)

Reply via email to