Merge pull request #109 from alibaba-damo-academy/dev

Dev
This commit is contained in:
hnluo 2023-02-14 17:50:13 +08:00 committed by GitHub
commit 2cc1057fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
pre-build-command: "pip install sphinx-markdown-tables nbsphinx jinja2 recommonmark sphinx_rtd_theme"
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs_cn/"
@ -22,7 +26,12 @@ jobs:
run: |
mkdir public
touch public/.nojekyll
cp -r docs_cn/_build/html/* public/
mkdir public/en
touch public/en/.nojekyll
cp -r docs/_build/html/* public/en/
mkdir public/cn
touch public/cn/.nojekyll
cp -r docs_cn/_build/html/* public/cn/
- name: deploy github.io pages
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'