Skip to content

Commit 5827391

Browse files
committed
Refine pyarmor site
1 parent 2189a55 commit 5827391

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-docs-actions.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,20 @@ jobs:
2727
pip install sphinx
2828
pip install sphinx-rtd-theme
2929
pip install linuxdoc
30+
- name: Prepare _site
31+
run: |
32+
mkdir -p _site/pyarmor/docs/
33+
cp index.html _site/
3034
- name: Build static files
3135
id: build
3236
run: |
3337
make html
38+
mv _build/html/ ../../../_site/pyarmor/docs/zh
3439
working-directory: ./pyarmor/docs/zh
3540
- name: Upload artifact
3641
uses: actions/upload-pages-artifact@v3
3742
with:
38-
path: ./pyarmor/docs/zh/_build/html/
43+
path: _site/
3944

4045
# Deployment job
4146
deploy:

0 commit comments

Comments
 (0)