diff --git a/docs/build.sh b/docs/build.sh index 09032335fe..235ce6fbc7 100755 --- a/docs/build.sh +++ b/docs/build.sh @@ -11,8 +11,8 @@ HOST=https://gqlgen.com VERSIONS_ARRAY=( 'v0.11.0' - 'master' - 'v0.10.2' + 'master' + 'v0.10.2' 'v0.9.3' 'v0.8.3' 'v0.7.2' @@ -50,11 +50,11 @@ git fetch origin --tags for version in "${VERSIONS_ARRAY[@]}" ; do echo -e "$(date) $GREEN Updating docs for $version.$RESET" - rm -rf docs/content - git checkout $version -- docs/content + rm -rf content + git checkout $version -- content rebuild "$version" done -rm -rf docs/content -git checkout "$currentBranch" -- docs/content +rm -rf content +git checkout "$currentBranch" -- content