diff --git a/.github/workflows/dsm.py b/.github/workflows/dsm.py index 76af021..7e40c46 100644 --- a/.github/workflows/dsm.py +++ b/.github/workflows/dsm.py @@ -100,7 +100,7 @@ class DSM: def main(): - docs_path = 'docs/book/html' + docs_path = 'docs/book' dsm_path = '/web/dr' dsm = DSM(docs_path, dsm_path) dsm.list_files() diff --git a/.github/workflows/page.yml b/.github/workflows/page.yml index 9cfb484..c0193ca 100644 --- a/.github/workflows/page.yml +++ b/.github/workflows/page.yml @@ -90,13 +90,13 @@ jobs: cd .. # Copy-Item docs/book/README-en.html docs/book/html/README-en.html Copy-Item index.html docs/book/index.html - Get-ChildItem -Recurse -Path .\docs\book\* | ?{$_.PsIsContainer -eq $false} | Get-FileHash -Algorithm MD5 >> .\docs\md5.txt + Get-ChildItem -Recurse -Path .\docs\book* | ?{$_.PsIsContainer -eq $false} | Get-FileHash -Algorithm MD5 >> .\docs\md5.txt - name: 上传到 github pages uses: actions/upload-pages-artifact@v1 with: # Upload entire repository - path: './docs/book/html' + path: './docs/book' - name: 部署到 github pages id: deployment