yhliang
2023-04-13 742d96d8e4260f3d6a0bc4b33a89180e985799e6
.github/workflows/main.yml
@@ -25,6 +25,10 @@
        with:
          docs-folder: "docs_m2met2/"
          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
        if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev_wjm' || github.ref == 'refs/heads/dev_lyh'
@@ -40,6 +44,9 @@
          mkdir public/m2met2
          touch public/m2met2/.nojekyll
          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
        if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev_wjm' || github.ref == 'refs/heads/dev_lyh'