remove \html\ [build skip][build rs skip]

This commit is contained in:
shenjack 2023-05-16 21:59:29 +08:00
parent bd285c50e2
commit f17d6eecce
2 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ class DSM:
def main(): def main():
docs_path = 'docs/book/html' docs_path = 'docs/book'
dsm_path = '/web/dr' dsm_path = '/web/dr'
dsm = DSM(docs_path, dsm_path) dsm = DSM(docs_path, dsm_path)
dsm.list_files() dsm.list_files()

View File

@ -90,13 +90,13 @@ jobs:
cd .. cd ..
# Copy-Item docs/book/README-en.html docs/book/html/README-en.html # Copy-Item docs/book/README-en.html docs/book/html/README-en.html
Copy-Item index.html docs/book/index.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 - name: 上传到 github pages
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1
with: with:
# Upload entire repository # Upload entire repository
path: './docs/book/html' path: './docs/book'
- name: 部署到 github pages - name: 部署到 github pages
id: deployment id: deployment