Skip to content

Commit 5fd64ac

Browse files
committed
Cope with filemgmt.jboss.org not supporting scp anymore
1 parent 0b5fc4c commit 5fd64ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

upload-documentation.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ if [[ $RELEASE_VERSION =~ .*\.Final ]]; then
8080
exit 1
8181
fi
8282

83-
scp ${PROJECT}-updated.json filemgmt.jboss.org:docs_htdocs/hibernate/_outdated-content/${PROJECT}.json
83+
# filemgmt-prod*.jboss.org don't allow scp, so we'll just rsync a single file...
84+
# That's a bit overkill but at least it works.
85+
# Note we have to use filemgmt-prod-sync.jboss.org for rsync, not filemgmt.jboss.org or filemgmt-prod.jboss.org
86+
rsync -z --progress ${PROJECT}-updated.json filemgmt-prod-sync.jboss.org:/docs_htdocs/hibernate/_outdated-content/${PROJECT}.json
8487
rm -f ${PROJECT}-updated.json
8588

8689
# update the symlink of stable to the latest release

0 commit comments

Comments
 (0)