This is an automated email from the ASF dual-hosted git repository.
eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 7d32683 [website] Fix deploy push to git - use ssh (#3123)
7d32683 is described below
commit 7d326838325cd5e4e0bd90e968a87542993a17ba
Author: Nicolò Boschi <[email protected]>
AuthorDate: Thu Mar 17 17:27:50 2022 +0100
[website] Fix deploy push to git - use ssh (#3123)
---
site/scripts/publish-website.sh | 6 ++----
site3/website/scripts/build-website.sh | 1 -
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/site/scripts/publish-website.sh b/site/scripts/publish-website.sh
index 9f6331e..543dad5 100755
--- a/site/scripts/publish-website.sh
+++ b/site/scripts/publish-website.sh
@@ -22,9 +22,6 @@
# staging the changes, try the `staging-website.sh` script.
source scripts/common.sh
-ORIGIN_REPO=$(git remote show origin | grep 'Push URL' | awk -F// '{print
$NF}')
-echo "ORIGIN_REPO: $ORIGIN_REPO"
-
(
cd $APACHE_GENERATED_DIR
@@ -33,7 +30,8 @@ echo "ORIGIN_REPO: $ORIGIN_REPO"
cd $TMP_DIR
# clone the remote repo
- git clone "https://$ORIGIN_REPO" .
+ # Workaround:
https://stackoverflow.com/questions/22147574/fatal-could-not-read-username-for-https-github-com-no-such-file-or-directo
+ git clone "[email protected]:apache/bookkeeper.git" .
git config user.name "Apache BookKeeper Site Updater"
git config user.email "[email protected]"
git checkout asf-site
diff --git a/site3/website/scripts/build-website.sh
b/site3/website/scripts/build-website.sh
index e908095..5a388ba 100755
--- a/site3/website/scripts/build-website.sh
+++ b/site3/website/scripts/build-website.sh
@@ -15,5 +15,4 @@ node $SCRIPTS_DIR/replace.js
yarn build
# inject Javadocs
-$SCRIPTS_DIR/javadoc-gen.sh all
$SCRIPTS_DIR/javadoc-gen.sh latest
\ No newline at end of file