remove \html\ [build skip][build rs skip]
This commit is contained in:
parent
bd285c50e2
commit
f17d6eecce
2
.github/workflows/dsm.py
vendored
2
.github/workflows/dsm.py
vendored
@ -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()
|
||||
|
4
.github/workflows/page.yml
vendored
4
.github/workflows/page.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user