[feat]Regenerate train data from target model. (#223) #13
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: Release Documentation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "docs/**" | |
| - "version.txt" | |
| workflow_dispatch: | |
| concurrency: | |
| group: release-docs-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| execute-and-deploy: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'sgl-project/specforge' | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Install dependencies | |
| run: | | |
| apt-get update && apt-get install -y pandoc parallel retry | |
| pip install -r docs/requirements.txt | |
| - name: Build documentation | |
| run: | | |
| cd docs | |
| make compile | |
| make html | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| personal_token: ${{ secrets.PERSONAL_TOKEN }} | |
| publish_dir: ./docs/_build/html | |
| cname: docs.sglang.ai/SpecForge |