From 556c84843e1f6452bb0983a199772e6f17ff6855 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 17 Feb 2020 16:32:24 +1100 Subject: [PATCH] fix paths --- docs/build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/build.sh b/docs/build.sh index 09032335fe3..235ce6fbc74 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