diff --git a/doc/upload-docs.sh b/doc/upload-docs.sh
index 176c9fbd04e6366058283752dd7bb4df7ac4848b..026154337232a01a90365c5889bf16a225f68100 100755
--- a/doc/upload-docs.sh
+++ b/doc/upload-docs.sh
@@ -1,3 +1,3 @@
 #! /bin/sh
 
-rsync --verbose --archive --delete _build/html/* doc-upload:doc/arraycontext
+rsync --verbose --archive --delete _build/html/ doc-upload:doc/arraycontext