diff --git a/framework/docs/build-versioned-docs.sh b/framework/docs/build-versioned-docs.sh index bea6dbfd8999..452452fc63da 100755 --- a/framework/docs/build-versioned-docs.sh +++ b/framework/docs/build-versioned-docs.sh @@ -103,8 +103,6 @@ END cd $(git rev-parse --show-toplevel) done -cd framework/docs - # Build the main version (main for GH CI, local branch for local) if [ $GITHUB_ACTIONS ] then @@ -113,6 +111,8 @@ else git checkout --force $current_branch fi +cd framework/docs + current_version=main export current_version for current_language in ${languages}; do