From f2e9bc440b8f23ea6fe51e8c5105db3f61acc5ac Mon Sep 17 00:00:00 2001 From: Glease <4586901+Glease@users.noreply.github.com> Date: Mon, 29 Aug 2022 12:24:54 +0800 Subject: [PATCH] fix index.txt --- .github/workflows/pages.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index a204c39c..44359be3 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -35,8 +35,7 @@ jobs: - name: Generate Index shell: bash run: | - find . -name javadoc -type d -print > index.txt - echo feature/doc >> index.txt + find . -name javadoc -type d -print | sed -i 's#^\./(.*)/javadoc$#\1#' > index.txt - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: