CELIX-449: Improvements for publish.sh script
diff --git a/publish.sh b/publish.sh
index 01eddd0..07f7e39 100644
--- a/publish.sh
+++ b/publish.sh
@@ -46,10 +46,10 @@
 
 # Remove the current contents of the SITE branch and replace them with the contents of the temp folder
 current_dir=${PWD}
-rm -rf ${current_dir}/*
+rm -rf ${current_dir}/content
 git rm -r --cached content/* > /dev/null 2>&1
 mkdir -p ${current_dir}/content
-cp -r ${tmp_dir}/* ${current_dir}/content
+cp -rT ${tmp_dir}/* ${current_dir}/content
 
 # Commit the changes to the SITE branch
 message="Updated site from ${SOURCE} (${last_SHA})"