diff --git a/docfx.json b/docfx.json index f5e66a0a4..30e70eef5 100644 --- a/docfx.json +++ b/docfx.json @@ -173,7 +173,7 @@ ] } ], - "dest": "_site", + "dest": "_site/17.2", "globalMetadataFiles": [], "fileMetadataFiles": [], "filemetadata": diff --git a/releaseDocs.ps1 b/releaseDocs.ps1 index 1e3bbef15..b754a7f90 100644 --- a/releaseDocs.ps1 +++ b/releaseDocs.ps1 @@ -13,7 +13,7 @@ $remote_repo="https://github-actions:${TOKEN}@github.com/sdl/studio-api-docs.git write-host "Cloning the repo $remote_repo with the gh-pages branch" git clone $remote_repo --branch gh-pages $TEMP_REPO_DIR -cd $TEMP_REPO_DIR +Set-Location $TEMP_REPO_DIR #delete gh-pages_temp branch if already exist $checkBranch = git show-ref origin/gh-pages_temp