diff --git a/.github/scripts/build-gh-page.sh b/.github/scripts/build-gh-page.sh index c3021eb4266..e4df3ffde06 100755 --- a/.github/scripts/build-gh-page.sh +++ b/.github/scripts/build-gh-page.sh @@ -35,7 +35,7 @@ if [[ $PRE_RELEASE == "true" || $RELEASE == "true" ]]; then rm -rf ./public/version/latest fi mkdir ./public/version/latest - cp ./out ./public/version/latest + cp -RT ./out ./public/version/latest echo " Copied dir out to ./public/version/latest" fi mv ./out ./public/version/"$NAME"