diff --git a/.ci/deploy.sh b/.ci/deploy.sh index 1d7ad3a707f47db8c24eecf86d82eb56c5547e9d..2aced0f8ad9737c6a3055ddff9e343c1f41ca3bb 100644 --- a/.ci/deploy.sh +++ b/.ci/deploy.sh @@ -56,6 +56,17 @@ do echo " > latest built for file set ${BLADE}" + # auto redirect file to the stable version + echo '<html>\n + <head>\n + <meta http-equiv="refresh" content="0; url='$PAGEURL'/'$BLADE'/stable/index.html"/>\n + </head>\n + <body>\n + </bod>\n + </html>\n' > $rootDir/public/$BLADE/index.html + + echo "autoredirect file set" + # move back out cd .. echo " > -----------------------------------------------------"