|
@@ -25,6 +25,10 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
docs-folder: "docs_m2met2/"
|
|
docs-folder: "docs_m2met2/"
|
|
|
pre-build-command: "pip install jinja2 sphinx_rtd_theme myst-parser"
|
|
pre-build-command: "pip install jinja2 sphinx_rtd_theme myst-parser"
|
|
|
|
|
+ - uses: ammaraskar/sphinx-action@master
|
|
|
|
|
+ with:
|
|
|
|
|
+ docs-folder: "docs_m2met2_cn/"
|
|
|
|
|
+ pre-build-command: "pip install jinja2 sphinx_rtd_theme myst-parser"
|
|
|
|
|
|
|
|
- name: deploy copy
|
|
- name: deploy copy
|
|
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev_wjm' || github.ref == 'refs/heads/dev_lyh'
|
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev_wjm' || github.ref == 'refs/heads/dev_lyh'
|
|
@@ -40,6 +44,9 @@ jobs:
|
|
|
mkdir public/m2met2
|
|
mkdir public/m2met2
|
|
|
touch public/m2met2/.nojekyll
|
|
touch public/m2met2/.nojekyll
|
|
|
cp -r docs_m2met2/_build/html/* public/m2met2/
|
|
cp -r docs_m2met2/_build/html/* public/m2met2/
|
|
|
|
|
+ mkdir public/m2met2_cn
|
|
|
|
|
+ touch public/m2met2_cn/.nojekyll
|
|
|
|
|
+ cp -r docs_m2met2_cn/_build/html/* public/m2met2_cn/
|
|
|
|
|
|
|
|
- name: deploy github.io pages
|
|
- name: deploy github.io pages
|
|
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev_wjm' || github.ref == 'refs/heads/dev_lyh'
|
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev_wjm' || github.ref == 'refs/heads/dev_lyh'
|