diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f2ffc14..064b8f1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -69,12 +69,11 @@ jobs: git fetch --depth=1 origin +refs/tags/*:refs/tags/* git fetch --all --tags git checkout tags/v0.1.4 - sed -i 's/{version}/v0.1.4/' hugo.toml + sed -i 's/{version}/v0.1.4\//' hugo.toml hugo \ --gc \ --theme PaperMod \ --minify \ - --baseURL "${{ steps.pages.outputs.base_url }}/" \ --destination ./public/v0.1.4 - name: Build with Hugo v0.1.3 env: @@ -87,12 +86,11 @@ jobs: git fetch --depth=1 origin +refs/tags/*:refs/tags/* git fetch --all --tags git checkout tags/v0.1.3 - sed -i 's/{version}/v0.1.3/' hugo.toml + sed -i 's/{version}/v0.1.3\//' hugo.toml hugo \ --gc \ --theme PaperMod \ --minify \ - --baseURL "${{ steps.pages.outputs.base_url }}/" \ --destination ./public/v0.1.3 - name: Build with Hugo version env: