This repository was archived by the owner on Jul 20, 2025. It is now read-only.
chore: 添加版本切换按钮、同步评论区、禁止搜索引擎 #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.x | |
| - run: pip install -r requirements.txt | |
| - name: Install TuringPlugins | |
| run: | | |
| git clone https://github.com/ZJU-Turing/TuringPlugins.git | |
| cd TuringPlugins | |
| pip install -e . | |
| cd .. | |
| - run: mkdocs gh-deploy --force |