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():
|
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()
|
||||||
|
4
.github/workflows/page.yml
vendored
4
.github/workflows/page.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user