]> git.lizzy.rs Git - rust.git/blobdiff - .github/deploy.sh
Update TypeVisitor paths
[rust.git] / .github / deploy.sh
index a3c57232f557c4b774cb53ecc7e10299db1bd8e6..5a59f94ec918bbc3c824b828f97a53ea98979034 100644 (file)
@@ -8,12 +8,14 @@ rm -rf out/master/ || exit 0
 echo "Making the docs for master"
 mkdir out/master/
 cp util/gh-pages/index.html out/master
+cp util/gh-pages/script.js out/master
 cp util/gh-pages/lints.json out/master
 
 if [[ -n $TAG_NAME ]]; then
   echo "Save the doc for the current tag ($TAG_NAME) and point stable/ to it"
   cp -Tr out/master "out/$TAG_NAME"
-  ln -sf "$TAG_NAME" out/stable
+  rm -f out/stable
+  ln -s "$TAG_NAME" out/stable
 fi
 
 if [[ $BETA = "true" ]]; then