speech_asr
2023-02-15 f90731dbc580b14d8dba1a37ff7103bfe9d6790e
.github/workflows/main.yml
@@ -18,16 +18,16 @@
          pre-build-command: "pip install sphinx-markdown-tables nbsphinx jinja2 recommonmark sphinx_rtd_theme"
      - name: deploy copy
        if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
        if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev_wjm'
        run: |
          mkdir public_cn
          touch public_cn/.nojekyll
          cp -r docs_cn/_build/html/* public_cn/
          mkdir public
          touch public/.nojekyll
          cp -r docs_cn/_build/html/* public/
      - name: deploy github.io pages
        if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
        if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev_wjm'
        uses: peaceiris/actions-gh-pages@v2.3.1
        env:
          GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
          PUBLISH_BRANCH: gh-pages-cn
          PUBLISH_DIR: public_cn
          PUBLISH_BRANCH: gh-pages
          PUBLISH_DIR: public