start on a publish script
diff --git a/antora-playbook.yml b/antora-playbook.yml
index ec39bd6..362a3e8 100644
--- a/antora-playbook.yml
+++ b/antora-playbook.yml
@@ -22,5 +22,5 @@
   #currently .htaccess has to be copied by hand, see https://gitlab.com/antora/antora/-/issues/627 and package.json
   supplemental_files: ./supplemental-ui
 
-output:
-  clean: true
+#output:
+#  clean: true
diff --git a/build-publish.sh b/build-publish.sh
new file mode 100644
index 0000000..a6ef2fe
--- /dev/null
+++ b/build-publish.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+#npm run clean-install
+
+rm -rf build
+mkdir -p build/site
+# clone the aries-site-pub repo
+(
+cd build/site
+git clone --depth 1 git@github.com:apache/aries-site-pub.git .
+git rm -r .
+)
+
+npm run build-noclean
+
+(
+cd build/site
+git add .
+git commit -m "site build"
+)
diff --git a/package.json b/package.json
index 53c6057..2c75fd8 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,8 @@
   "scripts": {
     "clean-build": "npm run clean-install;npm run build",
     "clean-install": "rm -rf node_modules/ .cache/ package-lock.json;npm i --cache=.cache/npm",
-    "build": "node_modules/.bin/antora antora-playbook.yml --stacktrace --fetch --clean;cp ./supplemental-ui/.htaccess ./build/site/"
+    "build": "node_modules/.bin/antora antora-playbook.yml --stacktrace --fetch --clean;cp ./supplemental-ui/.htaccess ./build/site/",
+    "build-noclean": "node_modules/.bin/antora antora-playbook.yml --stacktrace --fetch;cp ./supplemental-ui/.htaccess ./build/site/"
   },
   "devDependencies": {
     "@antora/cli": "^2.3.3",